Blackfin: do not trace the exception handler
authorYi Li <yi.li@analog.com>
Wed, 12 Aug 2009 23:05:35 +0000 (23:05 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 02:10:23 +0000 (22:10 -0400)
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>
arch/blackfin/kernel/traps.c

index 0904430..7b3ba06 100644 (file)
@@ -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;