diff options
Diffstat (limited to 'arch/x86/include/asm/kdebug.h')
-rw-r--r-- | arch/x86/include/asm/kdebug.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kdebug.h b/arch/x86/include/asm/kdebug.h index fa7c0b974761..5bdfca86581b 100644 --- a/arch/x86/include/asm/kdebug.h +++ b/arch/x86/include/asm/kdebug.h | |||
@@ -33,5 +33,11 @@ extern void __show_regs(struct pt_regs *regs, int all); | |||
33 | extern void show_regs(struct pt_regs *regs); | 33 | extern void show_regs(struct pt_regs *regs); |
34 | extern unsigned long oops_begin(void); | 34 | extern unsigned long oops_begin(void); |
35 | extern void oops_end(unsigned long, struct pt_regs *, int signr); | 35 | extern void oops_end(unsigned long, struct pt_regs *, int signr); |
36 | #ifdef CONFIG_KEXEC | ||
37 | extern int in_crash_kexec; | ||
38 | #else | ||
39 | /* no crash dump is ever in progress if no crash kernel can be kexec'd */ | ||
40 | #define in_crash_kexec 0 | ||
41 | #endif | ||
36 | 42 | ||
37 | #endif /* _ASM_X86_KDEBUG_H */ | 43 | #endif /* _ASM_X86_KDEBUG_H */ |