From: Paul Gortmaker Date: Sat, 25 Feb 2012 23:24:31 +0000 (-0500) Subject: [IA64] Fix warning from machine_kexec.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c19ce0ab53ad9698968a154647f3dc22aad6c45b;p=mv-sheeva.git [IA64] Fix warning from machine_kexec.c Use proper cpp defined(...) constructs to avoid this: arch/ia64/kernel/machine_kexec.c: In function 'arch_crash_save_vmcoreinfo': arch/ia64/kernel/machine_kexec.c:160:8: warning: "CONFIG_PGTABLE_4" is not defined Signed-off-by: Paul Gortmaker Signed-off-by: Tony Luck --- diff --git a/arch/ia64/kernel/machine_kexec.c b/arch/ia64/kernel/machine_kexec.c index 4eed3581499..070e8effa17 100644 --- a/arch/ia64/kernel/machine_kexec.c +++ b/arch/ia64/kernel/machine_kexec.c @@ -157,7 +157,7 @@ void arch_crash_save_vmcoreinfo(void) #endif #ifdef CONFIG_PGTABLE_3 VMCOREINFO_CONFIG(PGTABLE_3); -#elif CONFIG_PGTABLE_4 +#elif defined(CONFIG_PGTABLE_4) VMCOREINFO_CONFIG(PGTABLE_4); #endif }