summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/i386/cpu.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-19 14:41:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-19 14:41:23 +0000
commitdb047f1defe2639ffa1eeaecd56294b76043203b (patch)
treed476f1ae3f37dec3bd3a068a876f28d524489164 /c/src/lib/libcpu/i386/cpu.h
parentPatch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to address this: (diff)
downloadrtems-db047f1defe2639ffa1eeaecd56294b76043203b.tar.bz2
Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to eliminate a
warning.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/i386/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/i386/cpu.h b/c/src/lib/libcpu/i386/cpu.h
index b6c2867bff..cb638ebe97 100644
--- a/c/src/lib/libcpu/i386/cpu.h
+++ b/c/src/lib/libcpu/i386/cpu.h
@@ -487,7 +487,8 @@ typedef struct {
static inline void flush_cache()
{
- asm volatile ("wbinvd");
+ /* Would this be better as a macro? */
+ asm ("wbinvd"); /* gcc did not like a volatile being on this */
}