mirror of https://gitee.com/openkylin/linux.git
microblaze: Trace hardirqs
Add trace_hardirqs_off and trace_hardirqs_on to do_IRQ function. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
570e3e236e
commit
0d9ec762af
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue