mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-24 19:25:07 -04:00
selftests/powerpc: Import Anton's memcpy / copy_tofrom_user tests
Turn Anton's memcpy / copy_tofrom_user test into something that can live in tools/testing/selftests. It requires one turd in arch/powerpc/lib/memcpy_64.S, but it's pretty harmless IMHO. We are sailing very close to the wind with the feature macros. We define them to nothing, which currently means we get a few extra nops and include the unaligned calls. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
committed by
Benjamin Herrenschmidt
parent
55672ecfa2
commit
22d651dcef
1
tools/testing/selftests/powerpc/copyloops/memcpy_64.S
Symbolic link
1
tools/testing/selftests/powerpc/copyloops/memcpy_64.S
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../../arch/powerpc/lib/memcpy_64.S
|
||||
Reference in New Issue
Block a user