]> asedeno.scripts.mit.edu Git - linux.git/commit
MIPS: lib: Use kernel_pref & user_pref in memcpy()
authorPaul Burton <paul.burton@mips.com>
Mon, 15 Oct 2018 18:33:22 +0000 (18:33 +0000)
committerPaul Burton <paul.burton@mips.com>
Tue, 16 Oct 2018 06:11:14 +0000 (23:11 -0700)
commit1d6fb222bd23696a25b9b256a3e076b9c60677b8
tree51574e2a0aa53407d2b7b77b5259261688e669a7
parente2b405439903b20675de30090aab0fcadef5bbba
MIPS: lib: Use kernel_pref & user_pref in memcpy()

memcpy() is the only user of the PREF() & PREFE() macros from asm/asm.h.
Switch to using the kernel_pref() & user_pref() macros from
asm/asm-eva.h which fit more consistently with other abstractions of EVA
vs non-EVA instructions.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20907/
Cc: linux-mips@linux-mips.org
arch/mips/lib/memcpy.S