Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 226da55f authored by Leonid Yegoshin's avatar Leonid Yegoshin Committed by Markos Chandras
Browse files

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: default avatarLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
parent 6a0e9865
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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