summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/tce_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/tce_64.c')
-rw-r--r--arch/x86/kernel/tce_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/tce_64.c b/arch/x86/kernel/tce_64.c
index ab40954e113e..f386bad0984e 100644
--- a/arch/x86/kernel/tce_64.c
+++ b/arch/x86/kernel/tce_64.c
@@ -40,7 +40,7 @@
static inline void flush_tce(void* tceaddr)
{
/* a single tce can't cross a cache line */
- if (cpu_has_clflush)
+ if (boot_cpu_has(X86_FEATURE_CLFLUSH))
clflush(tceaddr);
else
wbinvd();
OpenPOWER on IntegriCloud