From ddee935174ca59d610cca29c5134877f084beee5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 31 Aug 2006 01:53:35 +0000 Subject: 2006-08-30 Joel Sherrill * rtems/score/cpu.h: Revert change. It did not appear to correct all warnings. --- cpukit/score/cpu/h8300/rtems/score/cpu.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpukit/score/cpu/h8300/rtems/score/cpu.h') diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h index 4156225393..c7f3b3c77b 100644 --- a/cpukit/score/cpu/h8300/rtems/score/cpu.h +++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h @@ -626,8 +626,7 @@ SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)(); #define _CPU_ISR_Disable( _isr_cookie ) \ 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) -- cgit v1.2.3