[PATCH 45/52] arm/rtems/score/cpu.h: _ARMV7M_Start_multitasking needed RTEMS_COMPILER_NO_RETURN_ATTRIBUTE

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 8 19:16:36 UTC 2014


---
 cpukit/score/cpu/arm/rtems/score/cpu.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index a032d4a..9aef8df 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -488,7 +488,8 @@ void _CPU_Context_restore( Context_Control *new_context )
   RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
 
 #if defined(ARM_MULTILIB_ARCH_V7M)
-  void _ARMV7M_Start_multitasking( Context_Control *heir );
+  void _ARMV7M_Start_multitasking( Context_Control *heir )
+    RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
   #define _CPU_Start_multitasking _ARMV7M_Start_multitasking
 #endif
 
-- 
1.9.3




More information about the devel mailing list