summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/muldi3.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/muldi3.S')
-rw-r--r--arch/arm/lib/muldi3.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/lib/muldi3.S b/arch/arm/lib/muldi3.S
index 36c91b4..2043059 100644
--- a/arch/arm/lib/muldi3.S
+++ b/arch/arm/lib/muldi3.S
@@ -11,6 +11,7 @@
*/
#include <linux/linkage.h>
+#include <asm/assembler.h>
#ifdef __ARMEB__
#define xh r0
@@ -41,7 +42,7 @@ ENTRY(__aeabi_lmul)
adc xh, xh, yh, lsr #16
adds xl, xl, ip, lsl #16
adc xh, xh, ip, lsr #16
- mov pc, lr
+ ret lr
ENDPROC(__muldi3)
ENDPROC(__aeabi_lmul)
OpenPOWER on IntegriCloud