summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-19 16:39:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-19 16:39:05 +0000
commitdb0df7b6df2415f3f218f9a893ac2d30d7e0b04a (patch)
tree3e24d25c85f10c3ee6531e9f6504afaa2bd3a5af /cpukit/score/cpu/arm
parent2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-db0df7b6df2415f3f218f9a893ac2d30d7e0b04a.tar.bz2
2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Mark _CPU_Context_restore() as noreturn so the compiler will not generate code thinking it returns.
Diffstat (limited to 'cpukit/score/cpu/arm')
-rw-r--r--cpukit/score/cpu/arm/ChangeLog5
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog
index 04f9784fef..591cb2b4ff 100644
--- a/cpukit/score/cpu/arm/ChangeLog
+++ b/cpukit/score/cpu/arm/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * rtems/score/cpu.h: Mark _CPU_Context_restore() as noreturn so the
+ compiler will not generate code thinking it returns.
+
2009-07-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
* arm_exc_handler_high.c, arm_exc_handler_low.S, arm_exc_interrupt.S:
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index cd81a1c5e5..084b41a603 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -361,7 +361,8 @@ void _CPU_Install_interrupt_stack( void );
void _CPU_Context_switch( Context_Control *run, Context_Control *heir );
-void _CPU_Context_restore( Context_Control *new_context );
+void _CPU_Context_restore( Context_Control *new_context )
+ RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
void _CPU_Context_save_fp( Context_Control_fp **fp_context_ptr );