Commit e9c40d25 authored by Minfei Huang's avatar Minfei Huang Committed by Ingo Molnar
Browse files

x86/kexec: Remove obsolete 'in_crash_kexec' flag

Previously, UV NMI used the 'in_crash_kexec' flag to determine whether
we are in a kdump kernel or not:

  5edd19af ("x86, UV: Make kdump avoid stack dumps")

But this flags was removed in the following commit:


 ("x86, nmi: Wire up NMI handlers to new routines")

Since it isn't used any more, remove it.

Signed-off-by: default avatarMinfei Huang <>
Acked-by: default avatarDon Zickus <>
Cc: H. Peter Anvin <>
Cc: Linus Torvalds <>
Cc: Peter Zijlstra <>
Cc: Thomas Gleixner <>

Signed-off-by: default avatarIngo Molnar <>
parent 25cb62b7
......@@ -29,11 +29,5 @@ extern void show_trace(struct task_struct *t, struct pt_regs *regs,
extern void __show_regs(struct pt_regs *regs, int all);
extern unsigned long oops_begin(void);
extern void oops_end(unsigned long, struct pt_regs *, int signr);
extern int in_crash_kexec;
/* no crash dump is ever in progress if no crash kernel can be kexec'd */
#define in_crash_kexec 0
#endif /* _ASM_X86_KDEBUG_H */
......@@ -75,8 +75,6 @@ struct crash_memmap_data {
unsigned int type;
int in_crash_kexec;
* This is used to VMCLEAR all VMCSs loaded on the
* processor. And when loading kvm_intel module, the
......@@ -132,7 +130,6 @@ static void kdump_nmi_callback(int cpu, struct pt_regs *regs)
static void kdump_nmi_shootdown_cpus(void)
in_crash_kexec = 1;
Supports Markdown
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