summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorYi Li <yi.li@analog.com>2009-08-13 03:05:35 +0400
committerMike Frysinger <vapier@gentoo.org>2009-09-17 06:10:23 +0400
commitc4baebf2683d16f24a84a99268ef5f7318905337 (patch)
tree37bceb31f5b32f636a842f0cdc354acec1db16a7 /arch/blackfin
parent7b06263bd70b66210fbb919be9e706ef5e82836a (diff)
downloadlinux-c4baebf2683d16f24a84a99268ef5f7318905337.tar.xz
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)
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;