summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-11-29 10:32:18 -0600
committerJoel Sherrill <joel@rtems.org>2017-11-29 13:03:41 -0600
commitc389769740bd255f7064b941e3eb372430b7ad27 (patch)
tree9bd0656e31a7a95944d68fb411b5d81c19d6e916
parentsapi/src/panic.c: Add include of <rtems/bspIo.h> (diff)
downloadrtems-c389769740bd255f7064b941e3eb372430b7ad27.tar.bz2
riscv/rtems/score/cpu.h: Use RTEMS_NO_RETURN not deprecated RTEMS_COMPILER_NO_RETURN_ATTRIBUTE
-rw-r--r--cpukit/score/cpu/riscv/rtems/score/cpu.h5
1 files 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 439b8c2fd4..3f8af862bf 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