* [PATCH] arch/ia64: remove comments that do not match the corresponding #ifdef
@ 2014-08-09 9:40 Daniele Forsi
0 siblings, 0 replies; only message in thread
From: Daniele Forsi @ 2014-08-09 9:40 UTC (permalink / raw)
To: linux-ia64
Remove these comments instead of fixing them because the other 28 #endif's
in this source file do not have comments.
Signed-off-by: Daniele Forsi <dforsi@gmail.com>
---
Looking at git blame, I found that:
CONFIG_PROC_VMCORE wasn't updated in commit d9a9855d0Â (always reserve
elfcore header memory in crash kernel) that changed the #ifdef;
CONFIG_APCI_BOOT (there's a typo APCI vs ACPI) wasn't updated in commit
888ba6c62 ([ACPI] delete CONFIG_ACPI_BOOT) that changed the #ifdef.
arch/ia64/kernel/setup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c
index d86669b..38bfcfc 100644
--- a/arch/ia64/kernel/setup.c
+++ b/arch/ia64/kernel/setup.c
@@ -521,7 +521,7 @@ int __init reserve_elfcorehdr(u64 *start, u64 *end)
return 0;
}
-#endif /* CONFIG_PROC_VMCORE */
+#endif
void __init
setup_arch (char **cmdline_p)
@@ -566,7 +566,7 @@ setup_arch (char **cmdline_p)
32 : cpus_weight(early_cpu_possible_map)),
additional_cpus > 0 ? additional_cpus : 0);
# endif
-#endif /* CONFIG_APCI_BOOT */
+#endif
#ifdef CONFIG_SMP
smp_build_cpu_map();
--
2.0.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-09 9:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-09 9:40 [PATCH] arch/ia64: remove comments that do not match the corresponding #ifdef Daniele Forsi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.