aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-02-26 02:54:01 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:50 -0400
commit9716951efd98ada69c417adddc85d9bbe1d7835a (patch)
treec80a774b3b3cfafadf644ec177f564c7c38d71be /arch/x86/kernel/cpu
parent0f8d2b926d15a68eac9c19edfdcb58a5d80b2960 (diff)
x86: clean up cpu capabilities accesses, generic
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu')
-rw-r--r--arch/x86/kernel/cpu/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index ef9e31b89b35..bd111ce8f605 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -374,7 +374,7 @@ static void __cpuinit generic_identify(struct cpuinfo_x86 *c)
374#else 374#else
375 c->apicid = (ebx >> 24) & 0xFF; 375 c->apicid = (ebx >> 24) & 0xFF;
376#endif 376#endif
377 if (c->x86_capability[0] & (1<<19)) 377 if (test_cpu_cap(c, X86_FEATURE_CLFLSH))
378 c->x86_clflush_size = ((ebx >> 8) & 0xff) * 8; 378 c->x86_clflush_size = ((ebx >> 8) & 0xff) * 8;
379 } else { 379 } else {
380 /* Have CPUID level 0 only - unheard of */ 380 /* Have CPUID level 0 only - unheard of */