Commit 08b38d38 authored by Linas Vepstas's avatar Linas Vepstas Committed by Linus Torvalds

[PATCH] ppc64: fix eeh_memcpy_toio() prototype

Signed-off-by: default avatarLinas Vepstas <linas@linas.org>
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 292ae129
......@@ -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))) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment