2006-08-30 Joel Sherrill <joel@OARcorp.com>

* rtems/score/cpu.h: Revert change. It did not appear to correct all
	warnings.
This commit is contained in:
Joel Sherrill
2006-08-31 01:53:35 +00:00
parent a009d94459
commit ddee935174
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2006-08-30 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: Revert change. It did not appear to correct all
warnings.
2006-08-30 Joel Sherrill <joel@OARcorp.com> 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* rtems/score/cpu.h: * rtems/score/cpu.h:

View File

@@ -626,8 +626,7 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
#define _CPU_ISR_Disable( _isr_cookie ) \ #define _CPU_ISR_Disable( _isr_cookie ) \
do { \ do { \
_isr_cookie = 0; /* to avoid warnings */; \ asm volatile( "stc.w ccr, @-er7 ;\n orc #0xC0,ccr ;\n mov.w @er7+,%0" : : "r" (_isr_cookie) ); \
asm volatile( "stc.w ccr, @-er7 ;\n orc #0xC0,ccr ;\n mov.w @er7+,%0" : "=r" (_isr_cookie) : ); \
} while (0) } while (0)