Small patch (rtems-rc-19991117-5.diff) from Ralf Corsepius

<corsepiu@faw.uni-ulm.de> to correct the constraints on the
inline assembly language macro for sh_disable_interrupt.
This commit is contained in:
Joel Sherrill
1999-11-22 13:12:48 +00:00
parent d2a05e767b
commit 75f2b0b0ef
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ extern "C" {
asm volatile ( \
"stc sr,%0\n\t" \
"ldc %1,sr\n\t"\
: "=r" (_level ) \
: "=&r" (_level ) \
: "r" (SH_IRQDIS_VALUE) );
#define sh_enable_interrupts( _level ) \

View File

@@ -77,7 +77,7 @@ extern "C" {
asm volatile ( \
"stc sr,%0\n\t" \
"ldc %1,sr\n\t"\
: "=r" (_level ) \
: "=&r" (_level ) \
: "r" (SH_IRQDIS_VALUE) );
#define sh_enable_interrupts( _level ) \