aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/addrspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/addrspace.h')
-rw-r--r--arch/mips/include/asm/addrspace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/addrspace.h b/arch/mips/include/asm/addrspace.h
index 569f80aacbd..3f745459fdb 100644
--- a/arch/mips/include/asm/addrspace.h
+++ b/arch/mips/include/asm/addrspace.h
@@ -51,7 +51,7 @@
* Returns the physical address of a CKSEGx / XKPHYS address
*/
#define CPHYSADDR(a) ((_ACAST32_(a)) & 0x1fffffff)
-#define XPHYSADDR(a) ((_ACAST64_(a)) & \
+#define XPHYSADDR(a) ((_ACAST64_(a)) & \
_CONST64_(0x000000ffffffffff))
#ifdef CONFIG_64BIT