From 25571ae49feab8b881b635847ff0b3fefc3aed49 Mon Sep 17 00:00:00 2001 From: Greg Menke Date: Sat, 10 Jun 2006 10:42:07 +0000 Subject: Added __mips==32 to fix build problems on those targets caused by the B.Robinson patch --- cpukit/score/cpu/mips/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/mips/cpu.c') 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" -- cgit v1.2.3