aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/setup.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-09-26 04:52:32 -0400
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 04:52:32 -0400
commit9ca33eb6981549c0d1b7aea7f99f1ba602161356 (patch)
tree9b74231b83fdf834f40fac40b95b0b6656835b9b /arch/x86_64/kernel/setup.c
parentd4d35854a1cf7fb170c8e133a5e40a9d19e7fc17 (diff)
[PATCH] Use early CPU identify before early command line parsing
This makes it possible to modify CPU flags in command line options without hacks. And remove another copy in head64.c Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/x86_64/kernel/setup.c')
-rw-r--r--arch/x86_64/kernel/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c
index ddc3b2d9a165..73f1cdd140fe 100644
--- a/arch/x86_64/kernel/setup.c
+++ b/arch/x86_64/kernel/setup.c
@@ -545,10 +545,10 @@ void __init setup_arch(char **cmdline_p)
545 data_resource.start = virt_to_phys(&_etext); 545 data_resource.start = virt_to_phys(&_etext);
546 data_resource.end = virt_to_phys(&_edata)-1; 546 data_resource.end = virt_to_phys(&_edata)-1;
547 547
548 parse_cmdline_early(cmdline_p);
549
550 early_identify_cpu(&boot_cpu_data); 548 early_identify_cpu(&boot_cpu_data);
551 549
550 parse_cmdline_early(cmdline_p);
551
552 /* 552 /*
553 * partially used pages are not usable - thus 553 * partially used pages are not usable - thus
554 * we are rounding upwards: 554 * we are rounding upwards: