projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e192b9
)
x86: setup_force_cpu_cap(): don't do clear_bit(non-unsigned-long)
author
Andrew Morton
<akpm@linux-foundation.org>
Wed, 14 May 2008 23:10:39 +0000
(16:10 -0700)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sun, 25 May 2008 06:58:34 +0000
(08:58 +0200)
Another hack to make proper prototyping of x86 bitops viable.
Cc: Andrea Arcangeli <andrea@qumranet.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/cpufeature.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-x86/cpufeature.h
b/include/asm-x86/cpufeature.h
index 0d609c837a41575fe8ce75cd4140f2efa99554cb..78b47e7404ebbfed4608e16d26209f0e9883604a 100644
(file)
--- a/
include/asm-x86/cpufeature.h
+++ b/
include/asm-x86/cpufeature.h
@@
-142,11
+142,11
@@
extern const char * const x86_power_flags[32];
#define clear_cpu_cap(c, bit) clear_bit(bit, (unsigned long *)((c)->x86_capability))
#define setup_clear_cpu_cap(bit) do { \
clear_cpu_cap(&boot_cpu_data, bit); \
- set_bit(bit,
cleared_cpu_caps);
\
+ set_bit(bit,
(unsigned long *)cleared_cpu_caps);
\
} while (0)
#define setup_force_cpu_cap(bit) do { \
set_cpu_cap(&boot_cpu_data, bit); \
- clear_bit(bit,
cleared_cpu_caps);
\
+ clear_bit(bit,
(unsigned long *)cleared_cpu_caps);
\
} while (0)
#define cpu_has_fpu boot_cpu_has(X86_FEATURE_FPU)