x86: clean up cpu capabilities accesses, transmeta.c
authorIngo Molnar <mingo@elte.hu>
Tue, 26 Feb 2008 07:52:39 +0000 (08:52 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:51 +0000 (17:40 +0200)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/transmeta.c

index daee21d208f4fcaa3a6792d3b4b2c562c43c5cab..b911a2c61b8fc7726bd4b431094d20c5c2bf18fb 100644 (file)
@@ -74,7 +74,7 @@ static void __cpuinit init_transmeta(struct cpuinfo_x86 *c)
        wrmsr(0x80860004, cap_mask, uk);
 
        /* All Transmeta CPUs have a constant TSC */
-       set_bit(X86_FEATURE_CONSTANT_TSC, c->x86_capability);
+       set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC);
 
 #ifdef CONFIG_SYSCTL
        /*