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

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
......@@ -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)
......
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