diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-09-04 21:09:45 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-04 21:09:45 +0200 |
commit | 10a434fcb23a57c385177a0086955fae01003f64 (patch) | |
tree | 2688fd54185dd635ae5567fcbbccf99a4d600655 /arch/x86/kernel/cpu/intel_64.c | |
parent | 9d31d35b5f9d619bb2482235cc889326de049e29 (diff) | |
download | blackbird-op-linux-10a434fcb23a57c385177a0086955fae01003f64.tar.gz blackbird-op-linux-10a434fcb23a57c385177a0086955fae01003f64.zip |
x86: remove cpu_vendor_dev
1. add c_x86_vendor into cpu_dev
2. change cpu_devs to static
3. check c_x86_vendor before put that cpu_dev into array
4. remove alignment for 64bit
5. order the sequence in cpu_devs according to link sequence...
so could put intel at first, then amd...
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/intel_64.c')
-rw-r--r-- | arch/x86/kernel/cpu/intel_64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/intel_64.c b/arch/x86/kernel/cpu/intel_64.c index 1019c58d39f0..0a8128a240df 100644 --- a/arch/x86/kernel/cpu/intel_64.c +++ b/arch/x86/kernel/cpu/intel_64.c @@ -90,6 +90,7 @@ static struct cpu_dev intel_cpu_dev __cpuinitdata = { .c_ident = { "GenuineIntel" }, .c_early_init = early_init_intel, .c_init = init_intel, + .c_x86_vendor = X86_VENDOR_INTEL, }; -cpu_vendor_dev_register(X86_VENDOR_INTEL, &intel_cpu_dev); +cpu_dev_register(intel_cpu_dev); |