aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 07:31:08 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:08 -0500
commite34907ae180f4fe6c28bb4516c679c2f81b0c9ed (patch)
tree8300a93a1b900d788aea5859b506a95e7d21982c /include/asm-x86
parent929fd589135ed417663f1b75b8031c9cf6687700 (diff)
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: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/system_32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/system_32.h b/include/asm-x86/system_32.h
index f5b3f77f5310..28978b17b07a 100644
--- a/include/asm-x86/system_32.h
+++ b/include/asm-x86/system_32.h
@@ -161,7 +161,7 @@ static inline void native_wbinvd(void)
161 asm volatile("wbinvd": : :"memory"); 161 asm volatile("wbinvd": : :"memory");
162} 162}
163 163
164static inline void clflush(volatile void *__p) 164static inline void clflush(void *__p)
165{ 165{
166 asm volatile("clflush %0" : "+m" (*(char __force *)__p)); 166 asm volatile("clflush %0" : "+m" (*(char __force *)__p));
167} 167}