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

Joel Sherrill joel at rtems.org
Wed Nov 29 19:03:46 UTC 2017


Module:    rtems
Branch:    master
Commit:    c389769740bd255f7064b941e3eb372430b7ad27
Changeset: http://git.rtems.org/rtems/commit/?id=c389769740bd255f7064b941e3eb372430b7ad27

Author:    Joel Sherrill <joel at rtems.org>
Date:      Wed Nov 29 10:32:18 2017 -0600

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

---

 cpukit/score/cpu/riscv/rtems/score/cpu.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/cpukit/score/cpu/riscv/rtems/score/cpu.h b/cpukit/score/cpu/riscv/rtems/score/cpu.h
index 439b8c2..3f8af86 100644
--- a/cpukit/score/cpu/riscv/rtems/score/cpu.h
+++ b/cpukit/score/cpu/riscv/rtems/score/cpu.h
@@ -216,8 +216,7 @@ void _CPU_Context_Initialize(
    *(*(_destination)) = _CPU_Null_fp_context; \
   }
 
-extern void _CPU_Fatal_halt(uint32_t source, uint32_t error)
-RTEMS_NO_RETURN;
+extern void _CPU_Fatal_halt(uint32_t source, uint32_t error) RTEMS_NO_RETURN;
 
 /* end of Fatal Error manager macros */
 
@@ -398,7 +397,7 @@ void _CPU_Context_switch(
 
 void _CPU_Context_restore(
   Context_Control *new_context
-) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
+) RTEMS_NO_RETURN;
 
 /*
  *  _CPU_Context_save_fp




More information about the vc mailing list