Skip to contentSkip to conversation

cobalt/intr: Move IRQ exit trace point in non-shared case

PATCH New Jan Kiszka 1 participant 1 message Dec 5, 2019

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 cobalt/intr: Move IRQ exit trace point in non-shared case

From: Jan Kiszka <[email protected]>

This was missed in cfa2c51de424.

---
 kernel/cobalt/intr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/cobalt/intr.c +2 -2
index d6fc0af6fa..d45c223268 100644
@@ -671,12 +671,12 @@ done:
 out:
 	switch_from_irqstats(sched, prev);
 
+	trace_cobalt_irq_exit(irq);
+
 	if (--sched->inesting == 0) {
 		sched->lflags &= ~XNINIRQ;
 		xnsched_run();
 	}
-
-	trace_cobalt_irq_exit(irq);
 }
 
 int __init xnintr_mount(void)
Signature · 6 lines
2.16.4


-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux