forked from Imagelibrary/rtems
arm: Use local label in _CPU_Context_restore()
This commit is contained in:
@@ -86,7 +86,7 @@ DEFINE_FUNCTION_ARM(_CPU_Context_switch)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Start restoring context */
|
/* Start restoring context */
|
||||||
_restore:
|
.L_restore:
|
||||||
#ifdef ARM_MULTILIB_HAS_LOAD_STORE_EXCLUSIVE
|
#ifdef ARM_MULTILIB_HAS_LOAD_STORE_EXCLUSIVE
|
||||||
clrex
|
clrex
|
||||||
#endif
|
#endif
|
||||||
@@ -118,6 +118,6 @@ _restore:
|
|||||||
*/
|
*/
|
||||||
DEFINE_FUNCTION_ARM(_CPU_Context_restore)
|
DEFINE_FUNCTION_ARM(_CPU_Context_restore)
|
||||||
mov r1, r0
|
mov r1, r0
|
||||||
b _restore
|
b .L_restore
|
||||||
|
|
||||||
#endif /* ARM_MULTILIB_ARCH_V4 */
|
#endif /* ARM_MULTILIB_ARCH_V4 */
|
||||||
|
|||||||
Reference in New Issue
Block a user