summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-08 15:09:39 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-09 10:11:58 -0500
commit81074900dfbf08326d735bb37d78c2dc8e3e8d2b (patch)
treeeb461773f6bfbed56f860bf03cedb535172ecb42 /cpukit/score/cpu
parentlibbsp/powerpc/shared/tod/todcfg.c: Fix method prototype to eliminate warning (diff)
downloadrtems-81074900dfbf08326d735bb37d78c2dc8e3e8d2b.tar.bz2
avr/rtems/score/cpu.h: Fix macros to avoid warnings
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r--cpukit/score/cpu/avr/rtems/score/cpu.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/cpukit/score/cpu/avr/rtems/score/cpu.h b/cpukit/score/cpu/avr/rtems/score/cpu.h
index ba3bfb8015..7a6e9d91dc 100644
--- a/cpukit/score/cpu/avr/rtems/score/cpu.h
+++ b/cpukit/score/cpu/avr/rtems/score/cpu.h
@@ -685,14 +685,13 @@ SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context;
*
* AVR Specific Information:
*
- * XXX document implementation including references if appropriate
+ * TODO: As of 8 October 2014, this method is not implemented.
*/
-
-#define _CPU_ISR_Set_level( new_level ) \
- { \
- }
-
#ifndef ASM
+static inline void _CPU_ISR_Set_level( unsigned int new_level )
+{
+}
+
uint32_t _CPU_ISR_Get_level( void );