summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/mips/cpu.c
diff options
context:
space:
mode:
authorGreg Menke <gregory.menke@gsfc.nasa.gov>2006-06-10 10:42:07 +0000
committerGreg Menke <gregory.menke@gsfc.nasa.gov>2006-06-10 10:42:07 +0000
commit25571ae49feab8b881b635847ff0b3fefc3aed49 (patch)
treecbc13a0f1c17f6aa6eb0811c78d10adccc7df1a7 /cpukit/score/cpu/mips/cpu.c
parent2006-06-08 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-25571ae49feab8b881b635847ff0b3fefc3aed49.tar.bz2
Added __mips==32 to fix build problems on those targets caused by the B.Robinson patch
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/mips/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/mips/cpu.c b/cpukit/score/cpu/mips/cpu.c
index 3d11aaa275..320fc7ba2f 100644
--- a/cpukit/score/cpu/mips/cpu.c
+++ b/cpukit/score/cpu/mips/cpu.c
@@ -53,9 +53,9 @@
** Exception stack frame pointer used in cpu_asm to pass the exception stack frame
** address to the context switch code.
*/
-#if (__mips == 1)
+#if (__mips == 1) || (__mips == 32)
typedef uint32_t ESF_PTR_TYPE;
-#elif (__mips == 3)
+#elif (__mips == 3)
typedef uint64_t ESF_PTR_TYPE;
#else
#error "unknown MIPS ISA"