diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2013-12-04 08:56:03 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-03-26 18:09:12 -0400 |
commit | 932449459522ef879c6d6a8fa707d801bdd8080e (patch) | |
tree | c6fda313508926c86529dfc09abc13a7b17c6fb8 /arch/mips/include/asm/asm.h | |
parent | 5b736cd243f942d474621a7521e08b34b8e4197b (diff) |
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.h | 1 |
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 @@ | |||
18 | #define __ASM_ASM_H | 18 | #define __ASM_ASM_H |
19 | 19 | ||
20 | #include <asm/sgidefs.h> | 20 | #include <asm/sgidefs.h> |
21 | #include <asm/asm-eva.h> | ||
21 | 22 | ||
22 | #ifndef CAT | 23 | #ifndef CAT |
23 | #ifdef __STDC__ | 24 | #ifdef __STDC__ |