Fix include/common.h for boards with CONFIG_STATUS_LED
[platform/kernel/u-boot.git] / lib_arm / _umodsi3.S
index 899ffbf..8465ef0 100644 (file)
@@ -6,10 +6,10 @@ dividend      .req    r0
 divisor                .req    r1
 overdone       .req    r2
 curbit         .req    r3
-ip             .req    r12
-sp             .req    r13
-lr             .req    r14
-pc             .req    r15
+/* ip          .req    r12     */
+/* sp          .req    r13     */
+/* lr          .req    r14     */
+/* pc          .req    r15     */
        .text
        .globl   __umodsi3
        .type  __umodsi3       ,function
@@ -19,7 +19,7 @@ pc            .req    r15
        beq     Ldiv0
        mov     curbit, #1
        cmp     dividend, divisor
-       movcc   pc, lr
+       movcc   pc, lr
 Loop1:
        @ Unless the divisor is very big, shift it up in multiples of
        @ four bits, since this is the amount of unwinding in the main
@@ -66,14 +66,14 @@ Loop3:
        @ then none of the below will match, since the bit in ip will not be
        @ in the bottom nibble.
        ands    overdone, overdone, #0xe0000000
-       moveq   pc, lr                          @ No fixups needed
+       moveq   pc, lr                          @ No fixups needed
        tst     overdone, ip, ror #3
        addne   dividend, dividend, divisor, lsr #3
        tst     overdone, ip, ror #2
        addne   dividend, dividend, divisor, lsr #2
        tst     overdone, ip, ror #1
        addne   dividend, dividend, divisor, lsr #1
-       mov     pc, lr
+       mov     pc, lr
 Ldiv0:
        str     lr, [sp, #-4]!
        bl       __div0       (PLT)