summaryrefslogtreecommitdiffstats
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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/include/asm/addrspace.h b/arch/mips/include/asm/addrspace.h
index b768bb5081..e7fe6ed7e4 100644
--- a/arch/mips/include/asm/addrspace.h
+++ b/arch/mips/include/asm/addrspace.h
@@ -10,6 +10,8 @@
#ifndef _ASM_ADDRSPACE_H
#define _ASM_ADDRSPACE_H
+#include <spaces.h>
+
/*
* Configure language
*/
@@ -50,7 +52,7 @@
*/
#define CPHYSADDR(a) ((_ACAST32_(a)) & 0x1fffffff)
#define XPHYSADDR(a) ((_ACAST64_(a)) & \
- _CONST64_(0x000000ffffffffff))
+ _CONST64_(0x0000ffffffffffff))
#ifdef CONFIG_64BIT
OpenPOWER on IntegriCloud