[rtems commit] or1k/rtems/score/cpu.h: Add no_return attribute to _CPU_Context_restore

Joel Sherril joel at rtems.org
Mon Mar 9 21:14:31 UTC 2015


Module:    rtems
Branch:    master
Commit:    ef598c37cf50fd8921ce7d49da8886d8fc2fe241
Changeset: http://git.rtems.org/rtems/commit/?id=ef598c37cf50fd8921ce7d49da8886d8fc2fe241

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sun Mar  8 14:08:31 2015 -0500

or1k/rtems/score/cpu.h: Add no_return attribute to _CPU_Context_restore

---

 cpukit/score/cpu/or1k/rtems/score/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/cpu/or1k/rtems/score/cpu.h b/cpukit/score/cpu/or1k/rtems/score/cpu.h
index d7b7093..c7d7f46 100644
--- a/cpukit/score/cpu/or1k/rtems/score/cpu.h
+++ b/cpukit/score/cpu/or1k/rtems/score/cpu.h
@@ -949,7 +949,7 @@ void _CPU_Context_switch(
 
 void _CPU_Context_restore(
   Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
 
 /*
  *  _CPU_Context_save_fp




More information about the vc mailing list