]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[IA64] Fix warning from machine_kexec.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 25 Feb 2012 23:24:31 +0000 (18:24 -0500)
committerTony Luck <tony.luck@intel.com>
Mon, 27 Feb 2012 21:00:42 +0000 (13:00 -0800)
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 <paul.gortmaker@windriver.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/machine_kexec.c

index 4eed35814994ebfed9c6e5d5dcca527cc327daba..070e8effa1757dcc75d6a6e400b5509d55abd4e5 100644 (file)
@@ -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
 }