2009-12-24 02:18:24

by Chen, Gong

[permalink] [raw]
Subject: [PATCH] delete deprecated definition in cpu_up

additional_cpus is only supported for IA64 now. X86_64 should not be
included.

Signed-off-by: Chen Gong <[email protected]>
---
kernel/cpu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/cpu.c b/kernel/cpu.c
index 1c8ddd6..53fcffb 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -338,7 +338,7 @@ int __cpuinit cpu_up(unsigned int cpu)
if (!cpu_possible(cpu)) {
printk(KERN_ERR "can't online cpu %d because it is not "
"configured as may-hotadd at boot time\n", cpu);
-#if defined(CONFIG_IA64) || defined(CONFIG_X86_64)
+#if defined(CONFIG_IA64)
printk(KERN_ERR "please check additional_cpus= boot "
"parameter\n");
#endif
--
1.6.6.rc4.11.g129a5