]> Pileus Git - ~andy/linux/blobdiff - arch/x86_64/kernel/setup.c
[PATCH] x86_64: Fix the additional_cpus=.. option
[~andy/linux] / arch / x86_64 / kernel / setup.c
index 9435ab7d6fb83131a6efd4b24a9d6cd7621a76fd..5de7eaf5d97cd678025e520cb5d5b2a3041508b5 100644 (file)
@@ -423,6 +423,12 @@ static __init void parse_cmdline_early (char ** cmdline_p)
                else if(!memcmp(from, "elfcorehdr=", 11))
                        elfcorehdr_addr = memparse(from+11, &from);
 #endif
+
+#ifdef CONFIG_SMP
+               else if (!memcmp(from, "additional_cpus=", 16))
+                       setup_additional_cpus(from+16);
+#endif
+
        next_char:
                c = *(from++);
                if (!c)