From eba52fd39d10a5182bd178e0a098611af93abcc3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 30 Aug 2006 17:16:50 +0000 Subject: 2006-08-30 Joel Sherrill * rtems/score/cpu.h: --- cpukit/score/cpu/h8300/rtems/score/cpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cpukit/score/cpu/h8300/rtems/score') diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h index 498304ad8f..4156225393 100644 --- a/cpukit/score/cpu/h8300/rtems/score/cpu.h +++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h @@ -626,6 +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) : ); \ } while (0) -- cgit v1.2.3