From db047f1defe2639ffa1eeaecd56294b76043203b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 19 Apr 1999 14:41:23 +0000 Subject: Patch from Erik Ivanenko to eliminate a warning. --- c/src/lib/libcpu/i386/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ } -- cgit v1.2.3