summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/epiphany/epiphany-context-switch.S
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/epiphany/epiphany-context-switch.S')
-rw-r--r--cpukit/score/cpu/epiphany/epiphany-context-switch.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/score/cpu/epiphany/epiphany-context-switch.S b/cpukit/score/cpu/epiphany/epiphany-context-switch.S
index 6d08389713..40744d1d11 100644
--- a/cpukit/score/cpu/epiphany/epiphany-context-switch.S
+++ b/cpukit/score/cpu/epiphany/epiphany-context-switch.S
@@ -39,7 +39,6 @@ PUBLIC(_CPU_Context_switch)
PUBLIC(_CPU_Context_restore)
PUBLIC(_CPU_Context_restore_fp)
PUBLIC(_CPU_Context_save_fp)
-PUBLIC(restore)
SYM(_CPU_Context_switch):
/* Disable interrupts and store all registers */
@@ -122,7 +121,7 @@ SYM(_CPU_Context_switch):
movfs r27, iret
str r27, [r0,66]
-SYM(restore):
+.Lrestore:
/* r1 contains buffer address, skip it */
ldr r2, [r1,2]
@@ -205,7 +204,7 @@ SYM(restore):
SYM(_CPU_Context_restore):
mov r1, r0
- b _restore
+ b .Lrestore
nop
/* No FP support for Epiphany yet */