linux-mips
[Top] [All Lists]

[PATCH 4/16] TO_PHYS_MASK for loongson2

To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Subject: [PATCH 4/16] TO_PHYS_MASK for loongson2
From: "zhangfx@lemote.com" <zhangfx@lemote.com>
Date: Wed, 4 Apr 2007 14:38:19 +0000
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Fuxin Zhang <zhangfx@lemote.com>
---
 include/asm-mips/addrspace.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-mips/addrspace.h b/include/asm-mips/addrspace.h
index 964c5ed..a4d9a07 100644
--- a/include/asm-mips/addrspace.h
+++ b/include/asm-mips/addrspace.h
@@ -145,7 +145,7 @@
 #define TO_PHYS_MASK   _CONST64_(0x000000ffffffffff)   /* 2^^40 - 1 */
 #endif
 
-#if defined (CONFIG_CPU_R10000)
+#if defined (CONFIG_CPU_R10000) || defined (CONFIG_CPU_LOONGSON2)
 #define TO_PHYS_MASK   _CONST64_(0x000000ffffffffff)   /* 2^^40 - 1 */
 #endif
 
-- 
1.4.4.4


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 4/16] TO_PHYS_MASK for loongson2, zhangfx@lemote.com <=