Commit ddbb1308 authored by Jan Kiszka's avatar Jan Kiszka Committed by Greg Gallagher

ipipe: Restore trace_hardirqs_on_virt_caller

Lost in d7fc2c06 ("lockdep: ipipe: exclude the head stage from IRQ
state tracing") but still needed by x86 at least.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent ed519da6
......@@ -66,6 +66,17 @@ __visible void trace_hardirqs_on_caller(unsigned long caller_addr)
}
EXPORT_SYMBOL(trace_hardirqs_on_caller);
__visible void trace_hardirqs_on_virt_caller(unsigned long ip)
{
/*
* The IRQ tracing logic only applies to the root domain, and
* must consider the virtual disable flag exclusively when
* leaving an interrupt/fault context.
*/
if (ipipe_root_p && !irqs_disabled())
trace_hardirqs_on_caller(ip);
}
__visible void trace_hardirqs_on_virt(void)
{
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment