[PATCH] 2.6 PPC64 memcpy_toio function signature
Linas Vepstas
linas at austin.ibm.com
Wed Aug 18 07:47:03 EST 2004
Hi Paul,
Could you forward upstream this stunningly trivial janitorial
patch for which I'd received a complaint about?
Signed-off-by: Linas Vepstas <linas at linas.org>
--linas
-------------- next part --------------
===== eeh.h 1.13 vs edited =====
--- 1.13/include/asm-ppc64/eeh.h Thu Jul 29 23:19:48 2004
+++ edited/eeh.h Tue Aug 17 16:37:16 2004
@@ -244,7 +244,7 @@
}
}
-static inline void eeh_memcpy_toio(void *dest, void *src, unsigned long n) {
+static inline void eeh_memcpy_toio(void *dest, const void *src, unsigned long n) {
void *vdest = (void *)IO_TOKEN_TO_ADDR(dest);
while(n && (!EEH_CHECK_ALIGN(vdest, 4) || !EEH_CHECK_ALIGN(src, 4))) {
More information about the Linuxppc64-dev
mailing list