aboutsummaryrefslogtreecommitdiff
path: root/include/asm-mips/mach-generic/spaces.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/mach-generic/spaces.h')
-rw-r--r--include/asm-mips/mach-generic/spaces.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-mips/mach-generic/spaces.h b/include/asm-mips/mach-generic/spaces.h
index f0571b65194..c9fa4b14968 100644
--- a/include/asm-mips/mach-generic/spaces.h
+++ b/include/asm-mips/mach-generic/spaces.h
@@ -12,6 +12,13 @@
#include <linux/const.h>
+/*
+ * This gives the physical RAM offset.
+ */
+#ifndef PHYS_OFFSET
+#define PHYS_OFFSET _AC(0, UL)
+#endif
+
#ifdef CONFIG_32BIT
#define CAC_BASE _AC(0x80000000, UL)