projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
m68knommu: move ColdFire timers.c to its own coldfire directory
[powerpc.git]
/
arch
/
avr32
/
lib
/
findbit.S
diff --git
a/arch/avr32/lib/findbit.S
b/arch/avr32/lib/findbit.S
index
2b4856f
..
c6b91de
100644
(file)
--- a/
arch/avr32/lib/findbit.S
+++ b/
arch/avr32/lib/findbit.S
@@
-136,6
+136,7
@@
ENTRY(generic_find_next_zero_le_bit)
/* offset is not word-aligned. Handle the first (32 - r10) bits */
ldswp.w r8, r12[0]
sub r12, -4
/* offset is not word-aligned. Handle the first (32 - r10) bits */
ldswp.w r8, r12[0]
sub r12, -4
+ com r8
lsr r8, r8, r10
brne .L_found
lsr r8, r8, r10
brne .L_found
@@
-146,7
+147,7
@@
ENTRY(generic_find_next_zero_le_bit)
/* Main loop. offset must be word-aligned */
1: ldswp.w r8, r12[0]
/* Main loop. offset must be word-aligned */
1: ldswp.w r8, r12[0]
- c
p.w r8, 0
+ c
om r8
brne .L_found
sub r12, -4
sub r9, 32
brne .L_found
sub r12, -4
sub r9, 32