diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2004-08-22 22:34:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-22 22:34:04 -0700 |
commit | 08b38d38ca9f398d5c887c64a63fec1bee8bd297 (patch) | |
tree | 182d0313a82c1343bcc03dd0ac52aaa0570079fd /include | |
parent | 292ae1292c4f1f7c46a5dd0e67ef9741855d716b (diff) | |
download | history-08b38d38ca9f398d5c887c64a63fec1bee8bd297.tar.gz |
[PATCH] ppc64: fix eeh_memcpy_toio() prototype
Signed-off-by: Linas Vepstas <linas@linas.org>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ppc64/eeh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc64/eeh.h b/include/asm-ppc64/eeh.h index a877ce9aa63a19..f5ec2602b50b28 100644 --- a/include/asm-ppc64/eeh.h +++ b/include/asm-ppc64/eeh.h @@ -244,7 +244,7 @@ static inline void eeh_memcpy_fromio(void *dest, void *src, unsigned long n) { } } -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))) { |