diff options
| author | Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> | 2014-11-05 07:56:40 -0500 |
|---|---|---|
| committer | Markos Chandras <markos.chandras@imgtec.com> | 2015-02-17 10:37:18 -0500 |
| commit | 226da55f48651c59ae5dc6a46cb4183105e7f17d (patch) | |
| tree | ee1ef0c550d498e08b119bf6fb5d1c877c37f846 /arch/mips/include | |
| parent | 6a0e9865b9003ba2bb1c3135dd99185946fa7159 (diff) | |
MIPS: asm: asmmacro: Add MIPS R6 support to the simple EI/DI variants
EI/DI instructions are available in MIPS R6 so add the needed
definitions.
Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/include')
| -rw-r--r-- | arch/mips/include/asm/asmmacro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/asmmacro.h b/arch/mips/include/asm/asmmacro.h index 6caf8766b80f..b6540cfcc97b 100644 --- a/arch/mips/include/asm/asmmacro.h +++ b/arch/mips/include/asm/asmmacro.h | |||
| @@ -19,7 +19,7 @@ | |||
| 19 | #include <asm/asmmacro-64.h> | 19 | #include <asm/asmmacro-64.h> |
| 20 | #endif | 20 | #endif |
| 21 | 21 | ||
| 22 | #ifdef CONFIG_CPU_MIPSR2 | 22 | #if defined(CONFIG_CPU_MIPSR2) || defined(CONFIG_CPU_MIPSR6) |
| 23 | .macro local_irq_enable reg=t0 | 23 | .macro local_irq_enable reg=t0 |
| 24 | ei | 24 | ei |
| 25 | irq_enable_hazard | 25 | irq_enable_hazard |
