From: Mike Galbraith Date: Wed, 24 Oct 2007 10:58:01 +0000 (+0200) Subject: x86: fix CONFIG_KEXEC build breakage X-Git-Tag: v2.6.24-rc2~140^2~2 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=1fb473d8f45658532555b956ee24e25a0ba493cd;p=linux-2.6-omap-h63xx.git x86: fix CONFIG_KEXEC build breakage X86_32 build fix to commit 62a31a03b3d2a9d20e7a073e2cd9b27bfb7d6a3f Signed-off-by: Mike Galbraith Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/crash.c b/arch/x86/kernel/crash.c index af0253f94a9..8bb482ff091 100644 --- a/arch/x86/kernel/crash.c +++ b/arch/x86/kernel/crash.c @@ -25,7 +25,7 @@ #include #include -#ifdef X86_32 +#ifdef CONFIG_X86_32 #include #else #include @@ -41,7 +41,7 @@ static int crash_nmi_callback(struct notifier_block *self, unsigned long val, void *data) { struct pt_regs *regs; -#ifdef X86_32 +#ifdef CONFIG_X86_32 struct pt_regs fixed_regs; #endif int cpu; @@ -60,7 +60,7 @@ static int crash_nmi_callback(struct notifier_block *self, return NOTIFY_STOP; local_irq_disable(); -#ifdef X86_32 +#ifdef CONFIG_X86_32 if (!user_mode_vm(regs)) { crash_fixup_ss_esp(&fixed_regs, regs); regs = &fixed_regs;