Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d9ec762 authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Trace hardirqs



Add trace_hardirqs_off and trace_hardirqs_on to do_IRQ function.

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 570e3e23
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ void __irq_entry do_IRQ(struct pt_regs *regs)
{
	unsigned int irq;
	struct pt_regs *old_regs = set_irq_regs(regs);
	trace_hardirqs_off();

	irq_enter();
	irq = get_irq(regs);
@@ -53,6 +54,7 @@ void __irq_entry do_IRQ(struct pt_regs *regs)

	irq_exit();
	set_irq_regs(old_regs);
	trace_hardirqs_on();
}

int show_interrupts(struct seq_file *p, void *v)