diff options
author | Yi Li <yi.li@analog.com> | 2009-08-12 19:05:35 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-16 22:10:23 -0400 |
commit | c4baebf2683d16f24a84a99268ef5f7318905337 (patch) | |
tree | 37bceb31f5b32f636a842f0cdc354acec1db16a7 /arch/blackfin/kernel | |
parent | 7b06263bd70b66210fbb919be9e706ef5e82836a (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/kernel')
-rw-r--r-- | arch/blackfin/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index 0904430d413..7b3ba06e10a 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 | ||
260 | asmlinkage void trap_c(struct pt_regs *fp) | 260 | asmlinkage 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; |