From: Andrew Morton Date: Tue, 13 May 2008 02:31:20 +0000 (-0700) Subject: x86: early_init_centaur(): use set_cpu_cap() X-Git-Tag: v2.6.26-rc3~68^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8c45a4e4f2b9bed6b6c54aaafc89e906284ccdf2;p=linux-2.6-omap-h63xx.git x86: early_init_centaur(): use set_cpu_cap() arch/x86/kernel/setup_64.c:954: warning: passing argument 2 of 'set_bit' from incompatible pointer type Signed-off-by: Andrew Morton Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index f2fc8feb727..6dff1286ad8 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c @@ -951,7 +951,7 @@ static void __cpuinit init_intel(struct cpuinfo_x86 *c) static void __cpuinit early_init_centaur(struct cpuinfo_x86 *c) { if (c->x86 == 0x6 && c->x86_model >= 0xf) - set_bit(X86_FEATURE_CONSTANT_TSC, &c->x86_capability); + set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); } static void __cpuinit init_centaur(struct cpuinfo_x86 *c)