mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-28 15:30:17 +00:00
Patch from Ian Lance Taylor <ian@airs.com> to correct previous interrupt
patch.
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
|
||||
#define i386_disable_interrupts( _level ) \
|
||||
{ \
|
||||
_level = 0; /* avoids warnings */ \
|
||||
asm volatile ( "pushf ; \
|
||||
cli ; \
|
||||
pop %0" \
|
||||
@@ -44,7 +43,7 @@
|
||||
{ \
|
||||
asm volatile ( "push %0 ; \
|
||||
popf" \
|
||||
: "=rm" ((_level)) \
|
||||
: : "rm" ((_level)) \
|
||||
); \
|
||||
}
|
||||
|
||||
@@ -53,7 +52,7 @@
|
||||
asm volatile ( "push %0 ; \
|
||||
popf ; \
|
||||
cli" \
|
||||
: "=rm" ((_level)) \
|
||||
: : "rm" ((_level)) \
|
||||
); \
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user