diff options
-rw-r--r-- | cpukit/score/cpu/arm/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/arm/rtems/score/cpu.h | 3 |
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 ); |