aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorYi Li <yi.li@analog.com>2009-08-12 19:05:35 -0400
committerMike Frysinger <vapier@gentoo.org>2009-09-16 22:10:23 -0400
commitc4baebf2683d16f24a84a99268ef5f7318905337 (patch)
tree37bceb31f5b32f636a842f0cdc354acec1db16a7 /arch/blackfin
parent7b06263bd70b66210fbb919be9e706ef5e82836a (diff)
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 <yi.li@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
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)
257 return regs->ipend & 0xffc0; 257 return regs->ipend & 0xffc0;
258} 258}
259 259
260asmlinkage void trap_c(struct pt_regs *fp) 260asmlinkage notrace void trap_c(struct pt_regs *fp)
261{ 261{
262#ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON 262#ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON
263 int j; 263 int j;