summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/mips/cpu.c
diff options
context:
space:
mode:
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"