summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/i386/rtems/score/interrupts.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 09:14:20 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-11 09:14:20 +0000
commitc05f6238b9756bf28d59c11da0ef53d1f4d6d503 (patch)
treedff80695767b7a297280041750f2cbb4bf4d3fea /cpukit/score/cpu/i386/rtems/score/interrupts.h
parent2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-c05f6238b9756bf28d59c11da0ef53d1f4d6d503.tar.bz2
2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu.c, sse_test.c, rtems/score/cpu.h, rtems/score/i386.h, rtems/score/interrupts.h: Use "__asm__" instead of "asm" for improved c99-compliance.
Diffstat (limited to 'cpukit/score/cpu/i386/rtems/score/interrupts.h')
-rw-r--r--cpukit/score/cpu/i386/rtems/score/interrupts.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/cpu/i386/rtems/score/interrupts.h b/cpukit/score/cpu/i386/rtems/score/interrupts.h
index 89034a00f0..b6b541fb0e 100644
--- a/cpukit/score/cpu/i386/rtems/score/interrupts.h
+++ b/cpukit/score/cpu/i386/rtems/score/interrupts.h
@@ -36,7 +36,7 @@ typedef int (*rtems_raw_irq_is_enabled) (const struct __rtems_raw_irq_connect_d
#define i386_disable_interrupts( _level ) \
{ \
- asm volatile ( "pushf ; \
+ __asm__ volatile ( "pushf ; \
cli ; \
pop %0" \
: "=rm" ((_level)) \
@@ -45,7 +45,7 @@ typedef int (*rtems_raw_irq_is_enabled) (const struct __rtems_raw_irq_connect_d
#define i386_enable_interrupts( _level ) \
{ \
- asm volatile ( "push %0 ; \
+ __asm__ volatile ( "push %0 ; \
popf" \
: : "rm" ((_level)) : "cc" \
); \
@@ -53,7 +53,7 @@ typedef int (*rtems_raw_irq_is_enabled) (const struct __rtems_raw_irq_connect_d
#define i386_flash_interrupts( _level ) \
{ \
- asm volatile ( "push %0 ; \
+ __asm__ volatile ( "push %0 ; \
popf ; \
cli" \
: : "rm" ((_level)) : "cc" \
@@ -64,7 +64,7 @@ typedef int (*rtems_raw_irq_is_enabled) (const struct __rtems_raw_irq_connect_d
do { \
register uint32_t _eflags; \
\
- asm volatile ( "pushf ; \
+ __asm__ volatile ( "pushf ; \
pop %0" \
: "=rm" ((_eflags)) \
); \