summaryrefslogtreecommitdiff
path: root/include/asm-mips/mach-generic
diff options
context:
space:
mode:
authorFranck Bui-Huu <fbuihuu@gmail.com>2007-06-04 19:46:34 +0400
committerRalf Baechle <ralf@linux-mips.org>2007-07-10 20:32:57 +0400
commit41b0483ee54d89f9ad068ceae3c91cdc7594d050 (patch)
tree7e7afcbfc49460d33205c3f23944cb3529d77f1c /include/asm-mips/mach-generic
parentdb38501511a7513ec4f0ae9922d847c135cf3c78 (diff)
downloadlinux-41b0483ee54d89f9ad068ceae3c91cdc7594d050.tar.xz
[MIPS] Move PHY_OFFSET definition in spaces.h
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-generic')
-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 f0571b651940..c9fa4b14968d 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)