diff options
Diffstat (limited to 'include/asm-x86/system_32.h')
-rw-r--r-- | include/asm-x86/system_32.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/system_32.h b/include/asm-x86/system_32.h index 1d6fb3afa533..db6283eb5e46 100644 --- a/include/asm-x86/system_32.h +++ b/include/asm-x86/system_32.h | |||
@@ -161,6 +161,10 @@ static inline void native_wbinvd(void) | |||
161 | asm volatile("wbinvd": : :"memory"); | 161 | asm volatile("wbinvd": : :"memory"); |
162 | } | 162 | } |
163 | 163 | ||
164 | static inline void clflush(volatile void *__p) | ||
165 | { | ||
166 | asm volatile("clflush %0" : "+m" (*(char __force *)__p)); | ||
167 | } | ||
164 | 168 | ||
165 | #ifdef CONFIG_PARAVIRT | 169 | #ifdef CONFIG_PARAVIRT |
166 | #include <asm/paravirt.h> | 170 | #include <asm/paravirt.h> |