]> git.baikalelectronics.ru Git - kernel.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)
commitd880f498d75f07171e6fd63c3aecde6cf8d63b44
tree50649451d8f300910a632205be4df863093533b9
parent668821b902852855146d52dadaf2c77915ae020f
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