summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/irq.c
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/kernel/irq.c
parent570e3e236efdf5bb4a023ecc3601dad9273a011e (diff)
downloadop-kernel-dev-0d9ec762af297f1ef38114f9498322d994063802.zip
op-kernel-dev-0d9ec762af297f1ef38114f9498322d994063802.tar.gz
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 8f120ac..598f1fd 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)
OpenPOWER on IntegriCloud