Message ID | 4AF084C6.3020602@nortel.com (mailing list archive) |
---|---|
State | Awaiting Upstream, archived |
Delegated to: | Grant Likely |
Headers | show |
On Wed, Nov 4, 2009 at 11:12 AM, Albrecht Dreß <albrecht.dress@arcor.de> wrote: > See <http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-May/072582.html>. > Any chance to get this one into the tree? Grant? Even though it is generic ppc code, I picked it up into my 5200 -next tree because it's such a simple patch. I expect Ben will pull it into his any day now. Cheers, g.
diff --git a/arch/powerpc/kernel/io.c b/arch/powerpc/kernel/io.c index 1882bf4..8dc7547 100644 --- a/arch/powerpc/kernel/io.c +++ b/arch/powerpc/kernel/io.c @@ -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();