mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-28 16:10:58 +08:00
Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to eliminate a
warning.
This commit is contained in:
@@ -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 */
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user