From: Michal Simek Date: Tue, 25 May 2010 11:44:38 +0000 (+0200) Subject: microblaze: Trace hardirqs X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~21179^2~40 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0d9ec762af297f1ef38114f9498322d994063802;p=mirror_ubuntu-artful-kernel.git microblaze: Trace hardirqs Add trace_hardirqs_off and trace_hardirqs_on to do_IRQ function. Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/kernel/irq.c b/arch/microblaze/kernel/irq.c index 8f120aca123d..598f1fd61c89 100644 --- a/arch/microblaze/kernel/irq.c +++ b/arch/microblaze/kernel/irq.c @@ -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 @@ next_irq: irq_exit(); set_irq_regs(old_regs); + trace_hardirqs_on(); } int show_interrupts(struct seq_file *p, void *v)