Commit e34907ae authored by Glauber de Oliveira Costa's avatar Glauber de Oliveira Costa Committed by Ingo Molnar
Browse files

x86: remove volatile keyword from clflush.

the p parameter is an explicit memory reference, and is
enough to prevent gcc to being nasty here. The volatile
seems completely not needed.
Signed-off-by: default avatarGlauber de Oliveira Costa <>
Signed-off-by: default avatarIngo Molnar <>
Signed-off-by: default avatarThomas Gleixner <>
parent 929fd589
......@@ -161,7 +161,7 @@ static inline void native_wbinvd(void)
asm volatile("wbinvd": : :"memory");
static inline void clflush(volatile void *__p)
static inline void clflush(void *__p)
asm volatile("clflush %0" : "+m" (*(char __force *)__p));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment