summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-02-26 03:24:31 +0400
committerBen Hutchings <ben@decadent.org.uk>2014-02-15 23:20:11 +0400
commit6512274fd268149c1205c5fa7b69beecb9b93bb7 (patch)
treedf338874fd2b4ac2421f0dbc560525486d5dad0c
parent11e106ef107462af1802066a8008f9930837c869 (diff)
downloadlinux-6512274fd268149c1205c5fa7b69beecb9b93bb7.tar.xz
Fix warning from machine_kexec.c
commit c19ce0ab53ad9698968a154647f3dc22aad6c45b upstream. 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> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r--arch/ia64/kernel/machine_kexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/machine_kexec.c b/arch/ia64/kernel/machine_kexec.c
index 3d3aeef46947..abd6bad9a2d8 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
}