diff options
Diffstat (limited to 'cpu/mpc824x/traps.c')
-rw-r--r-- | cpu/mpc824x/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc824x/traps.c b/cpu/mpc824x/traps.c index 071d003f8c3..0a7243020b6 100644 --- a/cpu/mpc824x/traps.c +++ b/cpu/mpc824x/traps.c @@ -175,7 +175,7 @@ UnknownException(struct pt_regs *regs) _exception(0, regs); } -#if (CONFIG_COMMANDS & CFG_CMD_BEDBUG) +#if defined(CONFIG_CMD_BEDBUG) extern void do_bedbug_breakpoint(struct pt_regs *); #endif @@ -185,7 +185,7 @@ DebugException(struct pt_regs *regs) printf("Debugger trap at @ %lx\n", regs->nip ); show_regs(regs); -#if (CONFIG_COMMANDS & CFG_CMD_BEDBUG) +#if defined(CONFIG_CMD_BEDBUG) do_bedbug_breakpoint( regs ); #endif } |