diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-02-25 18:24:31 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2012-02-27 16:00:42 -0500 |
commit | c19ce0ab53ad9698968a154647f3dc22aad6c45b (patch) | |
tree | 0f0777edfe641039c6a1e1c246a848b6629902a5 /arch/ia64 | |
parent | 0efb34f298b6b12dc9377159c8a6d1b7b73b03bf (diff) |
[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 <paul.gortmaker@windriver.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/machine_kexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/machine_kexec.c b/arch/ia64/kernel/machine_kexec.c index 4eed35814994..070e8effa175 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) | |||
157 | #endif | 157 | #endif |
158 | #ifdef CONFIG_PGTABLE_3 | 158 | #ifdef CONFIG_PGTABLE_3 |
159 | VMCOREINFO_CONFIG(PGTABLE_3); | 159 | VMCOREINFO_CONFIG(PGTABLE_3); |
160 | #elif CONFIG_PGTABLE_4 | 160 | #elif defined(CONFIG_PGTABLE_4) |
161 | VMCOREINFO_CONFIG(PGTABLE_4); | 161 | VMCOREINFO_CONFIG(PGTABLE_4); |
162 | #endif | 162 | #endif |
163 | } | 163 | } |