From: Yi Li Date: Wed, 12 Aug 2009 23:05:35 +0000 (+0000) Subject: Blackfin: do not trace the exception handler X-Git-Tag: v2.6.32-rc1~662^2~25 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=c4baebf2683d16f24a84a99268ef5f7318905337;p=linux.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 0904430d4137..7b3ba06e10ad 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;