aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/irq.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-05-25 07:44:38 -0400
committerMichal Simek <monstr@monstr.eu>2010-08-04 04:22:33 -0400
commit0d9ec762af297f1ef38114f9498322d994063802 (patch)
tree25537b3b3847729409c1406a8ce4ecaef081ed02 /arch/microblaze/kernel/irq.c
parent570e3e236efdf5bb4a023ecc3601dad9273a011e (diff)
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/kernel/irq.c')
-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)
37{ 37{
38 unsigned int irq; 38 unsigned int irq;
39 struct pt_regs *old_regs = set_irq_regs(regs); 39 struct pt_regs *old_regs = set_irq_regs(regs);
40 trace_hardirqs_off();
40 41
41 irq_enter(); 42 irq_enter();
42 irq = get_irq(regs); 43 irq = get_irq(regs);
@@ -53,6 +54,7 @@ next_irq:
53 54
54 irq_exit(); 55 irq_exit();
55 set_irq_regs(old_regs); 56 set_irq_regs(old_regs);
57 trace_hardirqs_on();
56} 58}
57 59
58int show_interrupts(struct seq_file *p, void *v) 60int show_interrupts(struct seq_file *p, void *v)