diff options
author | Tom Rini <trini@konsulko.com> | 2015-07-07 08:42:35 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-07-07 08:42:35 -0400 |
commit | 3cbb15d04f77d39e176253c537798f9e66b57082 (patch) | |
tree | 053c87f9c7560b4d675dabfa97e53f919c194385 /arch/arm/lib/_udivsi3.S | |
parent | 37f4d0ec34a4333ae9417c512faf7242e8ebeae3 (diff) | |
parent | abe8f9a9348d5b3bba55e88039041bc545ded877 (diff) | |
download | talos-obmc-uboot-3cbb15d04f77d39e176253c537798f9e66b57082.tar.gz talos-obmc-uboot-3cbb15d04f77d39e176253c537798f9e66b57082.zip |
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'arch/arm/lib/_udivsi3.S')
-rw-r--r-- | arch/arm/lib/_udivsi3.S | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/lib/_udivsi3.S b/arch/arm/lib/_udivsi3.S index 1309802610..3b653bed99 100644 --- a/arch/arm/lib/_udivsi3.S +++ b/arch/arm/lib/_udivsi3.S @@ -1,3 +1,5 @@ +#include <linux/linkage.h> + /* # 1 "libgcc1.S" */ @ libgcc1 routines for ARM cpu. @ Division routines, written by Richard Earnshaw, (rearnsha@armltd.co.uk) @@ -72,8 +74,7 @@ Ldiv0: ldmia sp!, {pc} .size __udivsi3 , . - __udivsi3 -.globl __aeabi_uidivmod -__aeabi_uidivmod: +ENTRY(__aeabi_uidivmod) stmfd sp!, {r0, r1, ip, lr} bl __aeabi_uidiv @@ -81,9 +82,9 @@ __aeabi_uidivmod: mul r3, r0, r2 sub r1, r1, r3 mov pc, lr +ENDPROC(__aeabi_uidivmod) -.globl __aeabi_idivmod -__aeabi_idivmod: +ENTRY(__aeabi_idivmod) stmfd sp!, {r0, r1, ip, lr} bl __aeabi_idiv @@ -91,3 +92,4 @@ __aeabi_idivmod: mul r3, r0, r2 sub r1, r1, r3 mov pc, lr +ENDPROC(__aeabi_idivmod) |