summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2013-05-30 16:11:29 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2013-05-31 08:35:25 +0200
commitdf308bd4bfadf8a5dd29f6a4f9a29cc459e00ad3 (patch)
tree0260a5fdbea5f69bb6d62380444e0e98887af786 /arch
parent77bcb1fa006085b42b11dbd5816609ac01c623ae (diff)
downloadbarebox-df308bd4bfadf8a5dd29f6a4f9a29cc459e00ad3.tar.gz
barebox-df308bd4bfadf8a5dd29f6a4f9a29cc459e00ad3.tar.xz
MIPS: asm/mipsregs.h: remove unused stuff
In barebox we have no CONFIG_MIPS_MT_SMTC Kconfig option. So remove the code under this macro. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/include/asm/mipsregs.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/mips/include/asm/mipsregs.h b/arch/mips/include/asm/mipsregs.h
index 608f19bda1..f9238607ab 100644
--- a/arch/mips/include/asm/mipsregs.h
+++ b/arch/mips/include/asm/mipsregs.h
@@ -673,19 +673,11 @@ do { \
#define write_c0_compare3(val) __write_32bit_c0_register($11, 7, val)
#define read_c0_status() __read_32bit_c0_register($12, 0)
-#ifdef CONFIG_MIPS_MT_SMTC
-#define write_c0_status(val) \
-do { \
- __write_32bit_c0_register($12, 0, val); \
- __ehb(); \
-} while (0)
-#else
/*
* Legacy non-SMTC code, which may be hazardous
* but which might not support EHB
*/
#define write_c0_status(val) __write_32bit_c0_register($12, 0, val)
-#endif /* CONFIG_MIPS_MT_SMTC */
#define read_c0_cause() __read_32bit_c0_register($13, 0)
#define write_c0_cause(val) __write_32bit_c0_register($13, 0, val)