summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/asm.h
diff options
context:
space:
mode:
authorMarkos Chandras2013-12-04 14:56:03 +0100
committerRalf Baechle2014-03-26 23:09:12 +0100
commit932449459522ef879c6d6a8fa707d801bdd8080e (patch)
treec6fda313508926c86529dfc09abc13a7b17c6fb8 /arch/mips/include/asm/asm.h
parentMIPS: asm: Add prefetch instruction for EVA (diff)
downloadkernel-qcow2-linux-932449459522ef879c6d6a8fa707d801bdd8080e.tar.gz
kernel-qcow2-linux-932449459522ef879c6d6a8fa707d801bdd8080e.tar.xz
kernel-qcow2-linux-932449459522ef879c6d6a8fa707d801bdd8080e.zip
MIPS: asm: Add wrappers for EVA/non-EVA instructions
EVA uses specific instructions for accessing user memory. Instead of polluting the kernel with numerous #ifdef CONFIG_EVA we add wrappers for all the instructions that need special handling when EVA is enabled. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/include/asm/asm.h')
-rw-r--r--arch/mips/include/asm/asm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/asm.h b/arch/mips/include/asm/asm.h
index b79be18a9267..b153e7991a9d 100644
--- a/arch/mips/include/asm/asm.h
+++ b/arch/mips/include/asm/asm.h
@@ -18,6 +18,7 @@
#define __ASM_ASM_H
#include <asm/sgidefs.h>
+#include <asm/asm-eva.h>
#ifndef CAT
#ifdef __STDC__