Revision fbb4a2e3 target-arm/translate.c

b/target-arm/translate.c
8583 8583
        store_cpu_field(tmp, condexec_bits);
8584 8584
      }
8585 8585
    do {
8586
#ifndef CONFIG_USER_ONLY
8586
#ifdef CONFIG_USER_ONLY
8587
        /* Intercept jump to the magic kernel page.  */
8588
        if (dc->pc >= 0xffff0000) {
8589
            /* We always get here via a jump, so know we are not in a
8590
               conditional execution block.  */
8591
            gen_exception(EXCP_KERNEL_TRAP);
8592
            dc->is_jmp = DISAS_UPDATE;
8593
            break;
8594
        }
8595
#else
8587 8596
        if (dc->pc >= 0xfffffff0 && IS_M(env)) {
8588 8597
            /* We always get here via a jump, so know we are not in a
8589 8598
               conditional execution block.  */

Also available in: Unified diff