From: Ingo Molnar Date: Tue, 26 Feb 2008 07:52:39 +0000 (+0100) Subject: x86: clean up cpu capabilities accesses, transmeta.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=10cd5a1e5403d79a2d53425e6a4c8612e02ba973;p=openwrt%2Fstaging%2Fblogic.git x86: clean up cpu capabilities accesses, transmeta.c Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/cpu/transmeta.c b/arch/x86/kernel/cpu/transmeta.c index daee21d208f4..b911a2c61b8f 100644 --- a/arch/x86/kernel/cpu/transmeta.c +++ b/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 /*