Re: [PATCH 2 of 2] __raw_memcpy_toio32 for x86_64

From: Roland Dreier
Date: Wed Jan 11 2006 - 20:30:47 EST


Andi> Well then they can just as well use normal memcpy as long as
Andi> they don't pass any sizes % 4 != 0. That should be ok as
Andi> long as they add a comment there.

But then the driver will be doing memcpy() to I/O memory, which may
work by chance on x86_64 but will blow up on other archs.

- R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/