linux/arch/powerpc/lib
Paul E. McKenney 20151169f1 powerpc: Make 64-bit non-VMX __copy_tofrom_user bi-endian
The powerpc 64-bit __copy_tofrom_user() function uses shifts to handle
unaligned invocations.  However, these shifts were designed for
big-endian systems: On little-endian systems, they must shift in the
opposite direction.

This commit relies on the C preprocessor to insert the correct shifts
into the assembly code.

[ This is a rare but nasty LE issue. Most of the time we use the POWER7
optimised __copy_tofrom_user_power7 loop, but when it hits an exception
we fall back to the base __copy_tofrom_user loop. - Anton ]

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-12-30 14:02:30 +11:00
..
alloc.c
checksum_32.S
checksum_64.S powerpc: Restore registers on error exit from csum_partial_copy_generic() 2013-10-03 17:22:42 +10:00
checksum_wrappers_64.c
code-patching.c
copy_32.S
copypage_64.S
copypage_power7.S
copyuser_64.S powerpc: Make 64-bit non-VMX __copy_tofrom_user bi-endian 2013-12-30 14:02:30 +11:00
copyuser_power7.S powerpc: Fix endian issues in VMX copy loops 2013-10-11 16:48:25 +11:00
crtsavres.S
devres.c
div64.S
feature-fixups-test.S
feature-fixups.c
hweight_64.S
ldstfp.S
locks.c
Makefile powerpc: Add VMX optimised xor for RAID5 2013-10-30 16:02:28 +11:00
mem_64.S
memcpy_64.S
memcpy_power7.S powerpc: Fix endian issues in VMX copy loops 2013-10-11 16:48:25 +11:00
rheap.c
sstep.c powerpc: Fix Unaligned LE Floating Point Loads and Stores 2013-10-30 16:01:36 +11:00
string_64.S
string.S
usercopy_64.c
vmx-helper.c
xor_vmx.c powerpc: Add VMX optimised xor for RAID5 2013-10-30 16:02:28 +11:00