summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-05-25 13:44:38 +0200
committerMichal Simek <monstr@monstr.eu>2010-08-04 10:22:33 +0200
commit0d9ec762af297f1ef38114f9498322d994063802 (patch)
tree25537b3b3847729409c1406a8ce4ecaef081ed02 /arch/microblaze
parentmicroblaze: Fix sys_clone syscall (diff)
downloadlinux-0d9ec762af297f1ef38114f9498322d994063802.tar.xz
linux-0d9ec762af297f1ef38114f9498322d994063802.zip
microblaze: Trace hardirqs
Add trace_hardirqs_off and trace_hardirqs_on to do_IRQ function. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/irq.c2
1 files changed, 2 insertions, 0 deletions
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)