[PATCH 08/15] or1k/rtems/score/cpu.h: Add no_return attribute to _CPU_Context_restore
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Mar 9 17:38:48 UTC 2015
---
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
--
1.9.3
More information about the devel
mailing list