linux-mips
[Top] [All Lists]

[PATCH] TO_PHYS_MASK for loongson2

To: linux-mips@linux-mips.org
Subject: [PATCH] TO_PHYS_MASK for loongson2
From: tiansm@lemote.com
Date: Wed, 6 Jun 2007 12:42:31 +0800
Cc: Fuxin Zhang <zhangfx@lemote.com>
In-reply-to: <11811049622818-git-send-email-tiansm@lemote.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11811049622818-git-send-email-tiansm@lemote.com>
Sender: linux-mips-bounce@linux-mips.org
From: Fuxin Zhang <zhangfx@lemote.com>

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 c627508..42e2578 100644
--- a/include/asm-mips/addrspace.h
+++ b/include/asm-mips/addrspace.h
@@ -144,7 +144,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.5.2.1


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