Commit c4baebf2 authored by Yi Li's avatar Yi Li Committed by Mike Frysinger

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: default avatarYi Li <yi.li@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 7b06263b
...@@ -257,7 +257,7 @@ static int kernel_mode_regs(struct pt_regs *regs) ...@@ -257,7 +257,7 @@ static int kernel_mode_regs(struct pt_regs *regs)
return regs->ipend & 0xffc0; 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 #ifdef CONFIG_DEBUG_BFIN_HWTRACE_ON
int j; int j;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment