aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mmzone.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/mmzone.h')
-rw-r--r--arch/mips/include/asm/mmzone.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mmzone.h b/arch/mips/include/asm/mmzone.h
index f085fba41da5..b826b8473e95 100644
--- a/arch/mips/include/asm/mmzone.h
+++ b/arch/mips/include/asm/mmzone.h
@@ -7,7 +7,18 @@
#define _ASM_MMZONE_H_
#include <asm/page.h>
-#include <mmzone.h>
+
+#ifdef CONFIG_NEED_MULTIPLE_NODES
+# include <mmzone.h>
+#endif
+
+#ifndef pa_to_nid
+#define pa_to_nid(addr) 0
+#endif
+
+#ifndef nid_to_addrbase
+#define nid_to_addrbase(nid) 0
+#endif
#ifdef CONFIG_DISCONTIGMEM