summaryrefslogtreecommitdiff
path: root/arch/mips/lib/mips-atomic.c
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2014-11-13 14:54:31 +0300
committerMarkos Chandras <markos.chandras@imgtec.com>2015-02-17 18:37:20 +0300
commit8716a7635665008291d3f19dd5d36a858ed1561b (patch)
tree0b06e1bc6b678874ae73d4802e218ccaca3d5d30 /arch/mips/lib/mips-atomic.c
parentf52fca9713c223b8e90ab00eea46d494789f1d77 (diff)
downloadlinux-8716a7635665008291d3f19dd5d36a858ed1561b.tar.xz
MIPS: asm: irqflags: Add MIPS R6 related definitions
Add the MIPS R6 related definitions to the IRQ related macros Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/lib/mips-atomic.c')
-rw-r--r--arch/mips/lib/mips-atomic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lib/mips-atomic.c b/arch/mips/lib/mips-atomic.c
index be777d9a3f85..272af8ac2425 100644
--- a/arch/mips/lib/mips-atomic.c
+++ b/arch/mips/lib/mips-atomic.c
@@ -15,7 +15,7 @@
#include <linux/export.h>
#include <linux/stringify.h>
-#ifndef CONFIG_CPU_MIPSR2
+#if !defined(CONFIG_CPU_MIPSR2) && !defined(CONFIG_CPU_MIPSR6)
/*
* For cli() we have to insert nops to make sure that the new value