Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/exception.c

    r5481a22e r48a209a  
    167167static void undef_insn_exception(unsigned int exc_no, istate_t *istate)
    168168{
    169 #ifdef CONFIG_FPU
    170         if (handle_if_fpu_exception()) {
     169        if (!handle_if_fpu_exception()) {
     170                fault_if_from_uspace(istate, "Undefined instruction.");
     171                panic_badtrap(istate, exc_no, "Undefined instruction.");
     172        } else {
    171173                /*
    172174                 * Retry the failing instruction,
     
    175177                 */
    176178                istate->pc -= 4;
    177                 return;
    178179        }
    179 #endif
    180         fault_if_from_uspace(istate, "Undefined instruction.");
    181         panic_badtrap(istate, exc_no, "Undefined instruction.");
    182180}
    183181
Note: See TracChangeset for help on using the changeset viewer.