summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/basedefs.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 09:27:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 09:27:03 +0000
commitf7e5fb5fc25f13db224a3e2aa6c7aa4de6ca9468 (patch)
tree078860c430d0e7f636976416bf9165b71e2c9218 /cpukit/score/include/rtems/score/basedefs.h
parent2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-f7e5fb5fc25f13db224a3e2aa6c7aa4de6ca9468.tar.bz2
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/basedefs.h: Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to 'cpukit/score/include/rtems/score/basedefs.h')
-rw-r--r--cpukit/score/include/rtems/score/basedefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h
index 1c53130003..6bb03459e6 100644
--- a/cpukit/score/include/rtems/score/basedefs.h
+++ b/cpukit/score/include/rtems/score/basedefs.h
@@ -116,7 +116,7 @@
* impact interrupt disable and thread dispatching critical sections.
*/
#ifdef __GNUC__
- #define RTEMS_COMPILER_MEMORY_BARRIER() asm volatile("" ::: "memory")
+ #define RTEMS_COMPILER_MEMORY_BARRIER() __asm__ volatile("" ::: "memory")
#else
#define RTEMS_COMPILER_MEMORY_BARRIER()
#endif