diff options
author | Michal Simek <monstr@monstr.eu> | 2010-05-25 13:44:38 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-08-04 10:22:33 +0200 |
commit | 0d9ec762af297f1ef38114f9498322d994063802 (patch) | |
tree | 25537b3b3847729409c1406a8ce4ecaef081ed02 /arch | |
parent | 570e3e236efdf5bb4a023ecc3601dad9273a011e (diff) | |
download | kernel_samsung_smdk4412-0d9ec762af297f1ef38114f9498322d994063802.zip kernel_samsung_smdk4412-0d9ec762af297f1ef38114f9498322d994063802.tar.gz kernel_samsung_smdk4412-0d9ec762af297f1ef38114f9498322d994063802.tar.bz2 |
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')
-rw-r--r-- | arch/microblaze/kernel/irq.c | 2 |
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) |