summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sparc
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-16 08:15:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-26 09:13:19 +0100
commit143696acbdd8740eaa8114c7c307ef4834134454 (patch)
tree1e520c91984f3b806ff00608568a0e2a7113b278 /cpukit/score/cpu/sparc
parentbasedefs.h: Add compiler attributes (diff)
downloadrtems-143696acbdd8740eaa8114c7c307ef4834134454.tar.bz2
basedefs.h: Add and use RTEMS_NO_RETURN
Diffstat (limited to 'cpukit/score/cpu/sparc')
-rw-r--r--cpukit/score/cpu/sparc/rtems/score/cpu.h4
-rw-r--r--cpukit/score/cpu/sparc/rtems/score/sparc.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index d35846521e..b73a56e0c0 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -1108,7 +1108,7 @@ void _CPU_Context_Initialize(
* halts/stops the CPU.
*/
extern void _CPU_Fatal_halt(uint32_t source, uint32_t error)
- RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
+ RTEMS_NO_RETURN;
/* end of Fatal Error manager macros */
@@ -1196,7 +1196,7 @@ void _CPU_Context_switch(
*/
void _CPU_Context_restore(
Context_Control *new_context
-) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
+) RTEMS_NO_RETURN;
/**
* @brief The pointer to the current per-CPU control is available via register
diff --git a/cpukit/score/cpu/sparc/rtems/score/sparc.h b/cpukit/score/cpu/sparc/rtems/score/sparc.h
index 45df6ff035..ecac74de3c 100644
--- a/cpukit/score/cpu/sparc/rtems/score/sparc.h
+++ b/cpukit/score/cpu/sparc/rtems/score/sparc.h
@@ -353,7 +353,7 @@ static inline void sparc_enable_interrupts(uint32_t psr)
* @param[in] exitcode2 Primary exit code stored in CPU g3 register after exit
*/
void sparc_syscall_exit(uint32_t exitcode1, uint32_t exitcode2)
- RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
+ RTEMS_NO_RETURN;
/**
* @brief SPARC flash processor interrupts.