projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61165d7
)
x86: early_init_centaur(): use set_cpu_cap()
author
Andrew Morton
<akpm@linux-foundation.org>
Tue, 13 May 2008 02:31:20 +0000
(19:31 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 13 May 2008 17:37:38 +0000
(19:37 +0200)
arch/x86/kernel/setup_64.c:954: warning: passing argument 2 of 'set_bit' from incompatible pointer type
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/setup_64.c
b/arch/x86/kernel/setup_64.c
index f2fc8feb727d339bb21d7e4fe2c58d5b9a28afd4..6dff1286ad8adec4b9fc6bb7808c3a233c476fd2 100644
(file)
--- 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)