aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/system_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/system_64.h')
-rw-r--r--include/asm-x86/system_64.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86/system_64.h b/include/asm-x86/system_64.h
index fb4bcf99e665..ec4c29bcfcb0 100644
--- a/include/asm-x86/system_64.h
+++ b/include/asm-x86/system_64.h
@@ -137,6 +137,11 @@ static inline void write_cr8(unsigned long val)
137 137
138#endif /* __KERNEL__ */ 138#endif /* __KERNEL__ */
139 139
140static inline void clflush(volatile void *__p)
141{
142 asm volatile("clflush %0" : "+m" (*(char __force *)__p));
143}
144
140#define nop() __asm__ __volatile__ ("nop") 145#define nop() __asm__ __volatile__ ("nop")
141 146
142#ifdef CONFIG_SMP 147#ifdef CONFIG_SMP