[MIPS] fix ABI check in include/asm-mips/arv/hinv.h
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Thu, 16 Aug 2007 14:15:42 +0000 (23:15 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 11 Oct 2007 22:46:00 +0000 (23:46 +0100)
Fix ABI check in include/asm-mips/arv/hinv.h

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/arc/hinv.h

index ee792bf..1862912 100644 (file)
@@ -4,6 +4,7 @@
 #ifndef _ASM_ARC_HINV_H
 #define _ASM_ARC_HINV_H
 
+#include <asm/sgidefs.h>
 #include <asm/arc/types.h>
 
 /* configuration query defines */
@@ -110,7 +111,7 @@ union key_u {
        ULONG FullKey;
 };
 
-#if _MIPS_SIM == _ABI64
+#if _MIPS_SIM == _MIPS_SIM_ABI64
 #define SGI_ARCS_VERS  64                      /* sgi 64-bit version */
 #define SGI_ARCS_REV   0                       /* rev .00 */
 #else