]> git.karo-electronics.de Git - linux-beck.git/commit
xtensa: reorganize irq flags tracing
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 16 Jul 2015 03:18:46 +0000 (06:18 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 17 Aug 2015 04:33:34 +0000 (07:33 +0300)
commit7d5f6a9a2496c6e4f2a3b5db7743ff4e3a99738e
tree50649451d8f300910a632205be4df863093533b9
parent18bc5b85aac08d35eeca174abc73238a4d5deb0b
xtensa: reorganize irq flags tracing

entry.s only disables IRQs on hardware IRQ, move trace_hardirqs_off call
into do_interrupt. Check actual intlevel that will be restored on return
from exception handler to decide if trace_hardirqs_on should be called.
Annotate IRQ on/off points in the TIF_* handling loop on return from
exception handler.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/entry.S
arch/xtensa/kernel/traps.c