Skip to content

Commit

Permalink
MIPS: asm: asmmacro: Add MIPS R6 support to the simple EI/DI variants
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Leonid Yegoshin authored and Markos Chandras committed Feb 17, 2015
1 parent 6a0e986 commit 226da55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/include/asm/asmmacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <asm/asmmacro-64.h>
#endif

#ifdef CONFIG_CPU_MIPSR2
#if defined(CONFIG_CPU_MIPSR2) || defined(CONFIG_CPU_MIPSR6)
.macro local_irq_enable reg=t0
ei
irq_enable_hazard
Expand Down

0 comments on commit 226da55

Please sign in to comment.