Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175834
b: refs/heads/master
c: a22c65f
h: refs/heads/master
v: v3
  • Loading branch information
Albrecht Dreß authored and Grant Likely committed Nov 4, 2009
1 parent f1848f2 commit b0996ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5cc17d7e01abd77eda1267a75748cfc84c92a523
refs/heads/master: a22c65f81ae28656b80d2acc687cf6318eb15bba
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/kernel/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void _memcpy_fromio(void *dest, const volatile void __iomem *src,
dest++;
n--;
}
while(n > 4) {
while(n >= 4) {
*((u32 *)dest) = *((volatile u32 *)vsrc);
eieio();
vsrc += 4;
Expand Down Expand Up @@ -190,7 +190,7 @@ void _memcpy_toio(volatile void __iomem *dest, const void *src, unsigned long n)
vdest++;
n--;
}
while(n > 4) {
while(n >= 4) {
*((volatile u32 *)vdest) = *((volatile u32 *)src);
src += 4;
vdest += 4;
Expand Down

0 comments on commit b0996ec

Please sign in to comment.