From: Anton Blanchard From: Linas Vepstas Signed-off-by: Linas Vepstas Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton --- 25-akpm/include/asm-ppc64/eeh.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/asm-ppc64/eeh.h~ppc64-memcpy_toio-function-signature include/asm-ppc64/eeh.h --- 25/include/asm-ppc64/eeh.h~ppc64-memcpy_toio-function-signature 2004-08-18 21:37:55.346539416 -0700 +++ 25-akpm/include/asm-ppc64/eeh.h 2004-08-18 21:37:55.350538808 -0700 @@ -244,7 +244,7 @@ static inline void eeh_memcpy_fromio(voi } } -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))) { _