Revision 78600320 target-arm/helper.c

b/target-arm/helper.c
239 239

  
240 240
  switch (ap) {
241 241
  case 0:
242
      if (access_type != 1)
242
      if (access_type == 1)
243 243
          return 0;
244 244
      switch ((env->cp15.c1_sys >> 8) & 3) {
245 245
      case 1:

Also available in: Unified diff