diff options
-rw-r--r-- | arch/powerpc/kernel/traps.c | 2 | ||||
-rw-r--r-- | include/asm-powerpc/system.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index 848a20475db8..4b5b7ff4f78b 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #endif | 54 | #endif |
55 | #include <asm/kexec.h> | 55 | #include <asm/kexec.h> |
56 | 56 | ||
57 | #ifdef CONFIG_DEBUGGER | 57 | #if defined(CONFIG_DEBUGGER) || defined(CONFIG_KEXEC) |
58 | int (*__debugger)(struct pt_regs *regs); | 58 | int (*__debugger)(struct pt_regs *regs); |
59 | int (*__debugger_ipi)(struct pt_regs *regs); | 59 | int (*__debugger_ipi)(struct pt_regs *regs); |
60 | int (*__debugger_bpt)(struct pt_regs *regs); | 60 | int (*__debugger_bpt)(struct pt_regs *regs); |
diff --git a/include/asm-powerpc/system.h b/include/asm-powerpc/system.h index bc9739dff5e7..8d37283db032 100644 --- a/include/asm-powerpc/system.h +++ b/include/asm-powerpc/system.h | |||
@@ -65,7 +65,7 @@ | |||
65 | struct task_struct; | 65 | struct task_struct; |
66 | struct pt_regs; | 66 | struct pt_regs; |
67 | 67 | ||
68 | #ifdef CONFIG_DEBUGGER | 68 | #if defined(CONFIG_DEBUGGER) || defined(CONFIG_KEXEC) |
69 | 69 | ||
70 | extern int (*__debugger)(struct pt_regs *regs); | 70 | extern int (*__debugger)(struct pt_regs *regs); |
71 | extern int (*__debugger_ipi)(struct pt_regs *regs); | 71 | extern int (*__debugger_ipi)(struct pt_regs *regs); |