linux/arch/powerpc/lib
Mark Nelson f72b728bf1 powerpc: Fix 64bit __copy_tofrom_user() regression
This fixes a regression introduced by commit
a4e22f02f5 ("powerpc: Update 64bit
__copy_tofrom_user() using CPU_FTR_UNALIGNED_LD_STD").

The same bug that existed in the 64bit memcpy() also exists here so fix
it here too. The fix is the same as that applied to memcpy() with the
addition of fixes for the exception handling code required for
__copy_tofrom_user().

This stops us reading beyond the end of the source region we were told
to copy.

Signed-off-by: Mark Nelson <markn@au1.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-02-26 14:02:54 +11:00
..
alloc.c
checksum_32.S
checksum_64.S
code-patching.c
copy_32.S
copypage_64.S
copyuser_64.S powerpc: Fix 64bit __copy_tofrom_user() regression 2009-02-26 14:02:54 +11:00
crtsavres.S
devres.c
div64.S
dma-noncoherent.c
feature-fixups-test.S
feature-fixups.c
locks.c
Makefile
mem_64.S
memcpy_64.S powerpc: Fix 64bit memcpy() regression 2009-02-26 14:02:53 +11:00
rheap.c
sstep.c
string.S
usercopy_64.c