Upon leaving IRQ check whether the code will go back to user mode (or system mode...
commite5d1b5188389b10f0e9dfa834c1c33be8cc074cb
authorschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 10 Apr 2015 13:19:14 +0000 (10 13:19 +0000)
committerschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 10 Apr 2015 13:19:14 +0000 (10 13:19 +0000)
tree8045da6edbfebdbd0470380432b75908a9c62979
parent27ef6c1330a1b5a93e30afb8230e1c3858d76bcd
Upon leaving IRQ check whether the code will go back to user mode (or system mode which is almost the same). Only in that case call core_ExitInterrupt, otherwise strange things could happen.

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