diff options
Diffstat (limited to 'arch/arm/xen')
-rw-r--r-- | arch/arm/xen/hypercall.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/xen/hypercall.S b/arch/arm/xen/hypercall.S index 44e3a5f10c4c..f00e08075938 100644 --- a/arch/arm/xen/hypercall.S +++ b/arch/arm/xen/hypercall.S | |||
@@ -58,7 +58,7 @@ | |||
58 | ENTRY(HYPERVISOR_##hypercall) \ | 58 | ENTRY(HYPERVISOR_##hypercall) \ |
59 | mov r12, #__HYPERVISOR_##hypercall; \ | 59 | mov r12, #__HYPERVISOR_##hypercall; \ |
60 | __HVC(XEN_IMM); \ | 60 | __HVC(XEN_IMM); \ |
61 | mov pc, lr; \ | 61 | ret lr; \ |
62 | ENDPROC(HYPERVISOR_##hypercall) | 62 | ENDPROC(HYPERVISOR_##hypercall) |
63 | 63 | ||
64 | #define HYPERCALL0 HYPERCALL_SIMPLE | 64 | #define HYPERCALL0 HYPERCALL_SIMPLE |
@@ -74,7 +74,7 @@ ENTRY(HYPERVISOR_##hypercall) \ | |||
74 | mov r12, #__HYPERVISOR_##hypercall; \ | 74 | mov r12, #__HYPERVISOR_##hypercall; \ |
75 | __HVC(XEN_IMM); \ | 75 | __HVC(XEN_IMM); \ |
76 | ldm sp!, {r4} \ | 76 | ldm sp!, {r4} \ |
77 | mov pc, lr \ | 77 | ret lr \ |
78 | ENDPROC(HYPERVISOR_##hypercall) | 78 | ENDPROC(HYPERVISOR_##hypercall) |
79 | 79 | ||
80 | .text | 80 | .text |
@@ -101,5 +101,5 @@ ENTRY(privcmd_call) | |||
101 | ldr r4, [sp, #4] | 101 | ldr r4, [sp, #4] |
102 | __HVC(XEN_IMM) | 102 | __HVC(XEN_IMM) |
103 | ldm sp!, {r4} | 103 | ldm sp!, {r4} |
104 | mov pc, lr | 104 | ret lr |
105 | ENDPROC(privcmd_call); | 105 | ENDPROC(privcmd_call); |