projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
570e3e2
)
microblaze: Trace hardirqs
author
Michal Simek
<monstr@monstr.eu>
Tue, 25 May 2010 11:44:38 +0000
(13:44 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Wed, 4 Aug 2010 08:22:33 +0000
(10:22 +0200)
Add trace_hardirqs_off and trace_hardirqs_on to do_IRQ function.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/irq.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/irq.c
b/arch/microblaze/kernel/irq.c
index
8f120ac
..
598f1fd
100644
(file)
--- 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)