linux-mips
[Top] [All Lists]

[PATCH][MIPS] fix ABI check in include/asm-mips/arv/hinv.h

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] fix ABI check in include/asm-mips/arv/hinv.h
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Thu, 16 Aug 2007 23:15:42 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Fix ABI check in include/asm-mips/arv/hinv.h

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff mips-orig/include/asm-mips/arc/hinv.h 
mips/include/asm-mips/arc/hinv.h
--- mips-orig/include/asm-mips/arc/hinv.h       2007-08-16 23:09:37.983572250 
+0900
+++ mips/include/asm-mips/arc/hinv.h    2007-08-16 23:08:37.975822000 +0900
@@ -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

<Prev in Thread] Current Thread [Next in Thread>