diff options
Diffstat (limited to 'arch/arm/lib/findbit.S')
-rw-r--r-- | arch/arm/lib/findbit.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/lib/findbit.S b/arch/arm/lib/findbit.S index 6f8e27a58c78..a5ca0248aa4e 100644 --- a/arch/arm/lib/findbit.S +++ b/arch/arm/lib/findbit.S | |||
@@ -32,7 +32,7 @@ ENTRY(_find_first_zero_bit_le) | |||
32 | 2: cmp r2, r1 @ any more? | 32 | 2: cmp r2, r1 @ any more? |
33 | blo 1b | 33 | blo 1b |
34 | 3: mov r0, r1 @ no free bits | 34 | 3: mov r0, r1 @ no free bits |
35 | RETINSTR(mov,pc,lr) | 35 | mov pc, lr |
36 | 36 | ||
37 | /* | 37 | /* |
38 | * Purpose : Find next 'zero' bit | 38 | * Purpose : Find next 'zero' bit |
@@ -66,7 +66,7 @@ ENTRY(_find_first_bit_le) | |||
66 | 2: cmp r2, r1 @ any more? | 66 | 2: cmp r2, r1 @ any more? |
67 | blo 1b | 67 | blo 1b |
68 | 3: mov r0, r1 @ no free bits | 68 | 3: mov r0, r1 @ no free bits |
69 | RETINSTR(mov,pc,lr) | 69 | mov pc, lr |
70 | 70 | ||
71 | /* | 71 | /* |
72 | * Purpose : Find next 'one' bit | 72 | * Purpose : Find next 'one' bit |
@@ -98,7 +98,7 @@ ENTRY(_find_first_zero_bit_be) | |||
98 | 2: cmp r2, r1 @ any more? | 98 | 2: cmp r2, r1 @ any more? |
99 | blo 1b | 99 | blo 1b |
100 | 3: mov r0, r1 @ no free bits | 100 | 3: mov r0, r1 @ no free bits |
101 | RETINSTR(mov,pc,lr) | 101 | mov pc, lr |
102 | 102 | ||
103 | ENTRY(_find_next_zero_bit_be) | 103 | ENTRY(_find_next_zero_bit_be) |
104 | teq r1, #0 | 104 | teq r1, #0 |
@@ -126,7 +126,7 @@ ENTRY(_find_first_bit_be) | |||
126 | 2: cmp r2, r1 @ any more? | 126 | 2: cmp r2, r1 @ any more? |
127 | blo 1b | 127 | blo 1b |
128 | 3: mov r0, r1 @ no free bits | 128 | 3: mov r0, r1 @ no free bits |
129 | RETINSTR(mov,pc,lr) | 129 | mov pc, lr |
130 | 130 | ||
131 | ENTRY(_find_next_bit_be) | 131 | ENTRY(_find_next_bit_be) |
132 | teq r1, #0 | 132 | teq r1, #0 |
@@ -164,5 +164,5 @@ ENTRY(_find_next_bit_be) | |||
164 | addeq r2, r2, #1 | 164 | addeq r2, r2, #1 |
165 | mov r0, r2 | 165 | mov r0, r2 |
166 | #endif | 166 | #endif |
167 | RETINSTR(mov,pc,lr) | 167 | mov pc, lr |
168 | 168 | ||