• Max Filippov's avatar
    xtensa: reorganize irq flags tracing · 7d5f6a9a
    Max Filippov authored
    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: default avatarMax Filippov <jcmvbkbc@gmail.com>