Commit d57b109e authored by Philippe Gerum's avatar Philippe Gerum
Browse files

genirq: irq_pipeline: fix IRQ state tracing



Since synchronizing the in-band log implies turning interrupts on
(trace_hardirqs_on()), irq_cpuidle_enter() must call
trace_hardirqs_off() conversely when stalling the stage on return.
Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
parent 3d17a928
......@@ -1563,6 +1563,7 @@ bool irq_cpuidle_enter(struct cpuidle_device *dev,
unstall_inband_nocheck();
synchronize_pipeline();
stall_inband_nocheck();
trace_hardirqs_off();
return false;
}
......
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