summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/irq.c
diff options
context:
space:
mode:
authorSteven J. Magnani <steve@digidescorp.com>2010-04-12 23:01:36 +0200
committerMichal Simek <monstr@monstr.eu>2010-05-06 11:21:57 +0200
commite6d7961e5be0a259ba87411370f8be7f7da4c0f6 (patch)
treeda6efb64339f9dc8bab353ca69a8b28031ee0b1a /arch/microblaze/kernel/irq.c
parentmicroblaze: resource/PCI: align functions now return start of resource (diff)
downloadlinux-e6d7961e5be0a259ba87411370f8be7f7da4c0f6.tar.xz
linux-e6d7961e5be0a259ba87411370f8be7f7da4c0f6.zip
microblaze: Fix IRQ entry/exit ftracing
Function traces on Microblaze don't include IRQ entry and exit arrows, i.e. 0) | memcpy_toiovec() { 0) ==========> | 0) | do_IRQ() { ... 0) <========== | 0) ! 5414.000 us | } ...because do_IRQ() doesn't have the proper attributes. Signed-off-by: Steven J. Magnani <steve@digidescorp.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/irq.c')
-rw-r--r--arch/microblaze/kernel/irq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/irq.c b/arch/microblaze/kernel/irq.c
index 6f39e2c001f3..8f120aca123d 100644
--- a/arch/microblaze/kernel/irq.c
+++ b/arch/microblaze/kernel/irq.c
@@ -9,6 +9,7 @@
*/
#include <linux/init.h>
+#include <linux/ftrace.h>
#include <linux/kernel.h>
#include <linux/hardirq.h>
#include <linux/interrupt.h>
@@ -32,7 +33,7 @@ EXPORT_SYMBOL_GPL(irq_of_parse_and_map);
static u32 concurrent_irq;
-void do_IRQ(struct pt_regs *regs)
+void __irq_entry do_IRQ(struct pt_regs *regs)
{
unsigned int irq;
struct pt_regs *old_regs = set_irq_regs(regs);