diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-09-04 15:09:44 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-04 15:09:44 -0400 |
commit | 3da99c97763703b23cbf2bd6e96252256d4e4617 (patch) | |
tree | 6253c27954b2a148075d8274257d67582fca3ac9 /include/asm-x86/processor.h | |
parent | 5031088dbc0cd30e893eb27d53f0e0eee6eb1c00 (diff) |
x86: make (early)_identify_cpu more the same between 32bit and 64 bit
1. add extended_cpuid_level for 32bit
2. add generic_identify for 64bit
3. add early_identify_cpu for 32bit
4. early_identify_cpu not be called by identify_cpu
5. remove early in get_cpu_vendor for 32bit
6. add get_cpu_cap
7. add cpu_detect for 64bit
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/processor.h')
-rw-r--r-- | include/asm-x86/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/processor.h b/include/asm-x86/processor.h index 4df3e2f6fb56..8208cc1debc7 100644 --- a/include/asm-x86/processor.h +++ b/include/asm-x86/processor.h | |||
@@ -77,9 +77,9 @@ struct cpuinfo_x86 { | |||
77 | __u8 x86_phys_bits; | 77 | __u8 x86_phys_bits; |
78 | /* CPUID returned core id bits: */ | 78 | /* CPUID returned core id bits: */ |
79 | __u8 x86_coreid_bits; | 79 | __u8 x86_coreid_bits; |
80 | #endif | ||
80 | /* Max extended CPUID function supported: */ | 81 | /* Max extended CPUID function supported: */ |
81 | __u32 extended_cpuid_level; | 82 | __u32 extended_cpuid_level; |
82 | #endif | ||
83 | /* Maximum supported CPUID level, -1=no CPUID: */ | 83 | /* Maximum supported CPUID level, -1=no CPUID: */ |
84 | int cpuid_level; | 84 | int cpuid_level; |
85 | __u32 x86_capability[NCAPINTS]; | 85 | __u32 x86_capability[NCAPINTS]; |