Changeset b26396e in mainline for kernel/arch/arm32/src/exception.c


Ignore:
Timestamp:
2012-12-29T22:16:16Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
26e550c2
Parents:
ce60be1 (diff), b55877d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Mainline changes

File:
1 edited

Legend:

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

    rce60be1 rb26396e  
    167167static void undef_insn_exception(unsigned int exc_no, istate_t *istate)
    168168{
    169         if (!handle_if_fpu_exception()) {
    170                 fault_if_from_uspace(istate, "Undefined instruction.");
    171                 panic_badtrap(istate, exc_no, "Undefined instruction.");
    172         } else {
     169#ifdef CONFIG_FPU
     170        if (handle_if_fpu_exception()) {
    173171                /*
    174172                 * Retry the failing instruction,
     
    177175                 */
    178176                istate->pc -= 4;
     177                return;
    179178        }
     179#endif
     180        fault_if_from_uspace(istate, "Undefined instruction.");
     181        panic_badtrap(istate, exc_no, "Undefined instruction.");
    180182}
    181183
Note: See TracChangeset for help on using the changeset viewer.