소스 검색

x86: clean up cpu capabilities accesses, transmeta.c

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 17 년 전
부모
커밋
10cd5a1e54
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      arch/x86/kernel/cpu/transmeta.c

+ 1 - 1
arch/x86/kernel/cpu/transmeta.c

@@ -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
 	/*