linux-stable-rt/arch/ppc/lib
Paul Mackerras 72480ef863 [PATCH] ppc32: Fix __copy_tofrom_user return value
Recently the __copy_tofrom_user routine was modified to avoid doing
prefetches past the end of the source array.  However, in doing so we
introduced a bug in that it now returns the wrong value for the number
of bytes not copied when a fault is encountered.  This fixes it to
return the correct number.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-20 07:54:10 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checksum.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dec_and_lock.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
div64.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
locks.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rheap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strcase.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
string.S [PATCH] ppc32: Fix __copy_tofrom_user return value 2005-05-20 07:54:10 -07:00