riscv/rtems/score/cpu.h: Use RTEMS_NO_RETURN not deprecated RTEMS_COMPILER_NO_RETURN_ATTRIBUTE

This commit is contained in:
Joel Sherrill
2017-11-29 10:32:18 -06:00
parent 7b8c5b0def
commit c389769740

View File

@@ -216,8 +216,7 @@ void _CPU_Context_Initialize(
*(*(_destination)) = _CPU_Null_fp_context; \ *(*(_destination)) = _CPU_Null_fp_context; \
} }
extern void _CPU_Fatal_halt(uint32_t source, uint32_t error) extern void _CPU_Fatal_halt(uint32_t source, uint32_t error) RTEMS_NO_RETURN;
RTEMS_NO_RETURN;
/* end of Fatal Error manager macros */ /* end of Fatal Error manager macros */
@@ -398,7 +397,7 @@ void _CPU_Context_switch(
void _CPU_Context_restore( void _CPU_Context_restore(
Context_Control *new_context Context_Control *new_context
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; ) RTEMS_NO_RETURN;
/* /*
* _CPU_Context_save_fp * _CPU_Context_save_fp