From: Paul Mundt Date: Mon, 26 Oct 2009 00:58:31 +0000 (+0900) Subject: sh: __irq_entry annotate do_IRQ(). X-Git-Tag: upstream/snapshot3+hdmi~16708^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba93483f8c997f1a3fc0a6677f41e8556ae3eba6;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git sh: __irq_entry annotate do_IRQ(). This adds an __irq_entry annotation for do_IRQ() so that the IRQ annotation in the function graph tracer works as advertized. We already have the IRQENTRY section wired up, so this is just a trivial addition to actually make use of it. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c index 7cb933b..eac7da7 100644 --- a/arch/sh/kernel/irq.c +++ b/arch/sh/kernel/irq.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -106,7 +107,7 @@ static union irq_ctx *hardirq_ctx[NR_CPUS] __read_mostly; static union irq_ctx *softirq_ctx[NR_CPUS] __read_mostly; #endif -asmlinkage int do_IRQ(unsigned int irq, struct pt_regs *regs) +asmlinkage __irq_entry int do_IRQ(unsigned int irq, struct pt_regs *regs) { struct pt_regs *old_regs = set_irq_regs(regs); #ifdef CONFIG_IRQSTACKS