Call core_ExitInterrupt only when going back to user mode. Going back to
commit9b836c2b84058774468c7316b0b1c0aaf6c52b08
authorschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 18 Apr 2015 16:15:32 +0000 (18 16:15 +0000)
committerschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 18 Apr 2015 16:15:32 +0000 (18 16:15 +0000)
tree8fb606820f01e7124c432decf290d2912a8d2fae
parenta57d22978c53bf0b8913eb9d3f075a15d31ab8ab
Call core_ExitInterrupt only when going back to user mode. Going back to
system mode should not end with ExitInterrupt called. Why? Because
system mode is used by IRQ handler, for example.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50424 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
arch/arm-native/kernel/intr.c