summaryrefslogtreecommitdiffstats
path: root/arch/um/include/asm/cpufeature.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/asm/cpufeature.h')
-rw-r--r--arch/um/include/asm/cpufeature.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/include/asm/cpufeature.h b/arch/um/include/asm/cpufeature.h
index 66fe06db87..1eb8b834fb 100644
--- a/arch/um/include/asm/cpufeature.h
+++ b/arch/um/include/asm/cpufeature.h
@@ -38,8 +38,7 @@ extern const char * const x86_bug_flags[NBUGINTS*32];
#define this_cpu_has(bit) \
(__builtin_constant_p(bit) && REQUIRED_MASK_BIT_SET(bit) ? 1 : \
- x86_this_cpu_test_bit(bit, \
- (unsigned long __percpu *)&cpu_info.x86_capability))
+ x86_this_cpu_test_bit(bit, cpu_info.x86_capability))
/*
* This macro is for detection of features which need kernel