linux-mips
[Top] [All Lists]

[PATCH 4/16] TO_PHYS_MASK for loongson2

To: linux-mips@linux-mips.org
Subject: [PATCH 4/16] TO_PHYS_MASK for loongson2
From: tiansm@lemote.com
Date: Sun, 15 Apr 2007 23:25:53 +0800
Cc: Fuxin Zhang <zhangfx@lemote.com>
In-reply-to: <11766507662638-git-send-email-tiansm@lemote.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11766507651736-git-send-email-tiansm@lemote.com> <11766507661317-git-send-email-tiansm@lemote.com> <11766507661726-git-send-email-tiansm@lemote.com> <11766507662638-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 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.1


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