summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-09-14 12:05:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-09-16 09:47:46 +0200
commitedd582ee637f441ae6790dae7328475e338f60a6 (patch)
tree29261def637770f454ca8a65e7b7388df157a358
parentfbe8f642b9d0e023ca66c815cf86644106f772ae (diff)
downloadbarebox-edd582ee637f441ae6790dae7328475e338f60a6.tar.gz
barebox-edd582ee637f441ae6790dae7328475e338f60a6.tar.xz
mips: remove undefined local_irq_save/local_irq_restore
mips currently uses local_irq_save and local_irq_restore which are not defined. Drop them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Cc: Antony Pavlov <antonynpavlov@gmail.com>
-rw-r--r--arch/mips/include/asm/mipsregs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/include/asm/mipsregs.h b/arch/mips/include/asm/mipsregs.h
index 16ba38e50d..87c48ed693 100644
--- a/arch/mips/include/asm/mipsregs.h
+++ b/arch/mips/include/asm/mipsregs.h
@@ -568,7 +568,6 @@ do { \
unsigned long long __val; \
unsigned long __flags; \
\
- local_irq_save(__flags); \
if (sel == 0) \
__asm__ __volatile__( \
".set\tmips64\n\t" \
@@ -587,7 +586,6 @@ do { \
"dsra\t%L0, %L0, 32\n\t" \
".set\tmips0" \
: "=r" (__val)); \
- local_irq_restore(__flags); \
\
__val; \
})
@@ -596,7 +594,6 @@ do { \
do { \
unsigned long __flags; \
\
- local_irq_save(__flags); \
if (sel == 0) \
__asm__ __volatile__( \
".set\tmips64\n\t" \
@@ -617,7 +614,6 @@ do { \
"dmtc0\t%L0, " #source ", " #sel "\n\t" \
".set\tmips0" \
: : "r" (val)); \
- local_irq_restore(__flags); \
} while (0)
#define read_c0_index() __read_32bit_c0_register($0, 0)