MIPS: Add kernel_pref & user_pref helpers
authorPaul Burton <paul.burton@mips.com>
Mon, 15 Oct 2018 18:33:21 +0000 (18:33 +0000)
committerPaul Burton <paul.burton@mips.com>
Tue, 16 Oct 2018 06:11:13 +0000 (23:11 -0700)
commit4021c30a86ec7c2e51738eaa065317ce321d9798
tree75f1fc7726502123706afd052ecf3274008d06d9
parentda1d25e79a46fab38c73570bd7c3a0f545fbbb9d
MIPS: Add kernel_pref & user_pref helpers

Add kernel_pref & user_pref macros to asm/asm-eva.h, providing an
abstraction around EVA & non-EVA pref instructions consistent with the
existing macros we have for cache & load/store instructions.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20906/
Cc: linux-mips@linux-mips.org
arch/mips/include/asm/asm-eva.h