From: Yi Li Date: Wed, 12 Aug 2009 23:05:35 +0000 (+0000) Subject: Blackfin: do not trace the exception handler X-Git-Tag: 2.1b_release~11436^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c4baebf2683d16f24a84a99268ef5f7318905337;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git Blackfin: do not trace the exception handler Since the exception handler cannot cause exceptions, we cannot trace it without easily causing double faults and crashing the system. Signed-off-by: Yi Li Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index 0904430..7b3ba06 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c @@ -257,7 +257,7 @@ static int kernel_mode_regs(struct pt_regs *regs) return regs->ipend & 0xffc0; } -asmlinkage void trap_c(struct pt_regs *fp) +asmlinkage notrace void trap_c(struct pt_regs *fp) { #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON int j;