mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 08:37:57 +08:00
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* network/tsec.c: Use "__asm__" instead of "asm" for improved c99-compliance.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* network/tsec.c:
|
||||
Use "__asm__" instead of "asm" for improved c99-compliance.
|
||||
|
||||
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
||||
|
||||
@@ -442,7 +442,7 @@ static inline void membarrier(void)
|
||||
asm volatile("sync":::"memory");
|
||||
}
|
||||
|
||||
#define EIEIO(mem) do { asm volatile("eieio"); } while (0)
|
||||
#define EIEIO(mem) do { __asm__ volatile("eieio"); } while (0)
|
||||
|
||||
#else
|
||||
#error "memory barrier not implemented for your CPU architecture"
|
||||
|
||||
Reference in New Issue
Block a user