summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-09-12 22:41:30 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-09-12 22:41:30 +0900
commit6bff1592d85c9fa1f1d9d4de1cd0e104279544a6 (patch)
tree0af7bca6a52f6a94be0aa4a07783ebb732845fed
parent3231739d97b348c628a10fb49adfa9143e1de28b (diff)
sh: Fix up NUMA build error with se7722_defconfig.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/include/asm/mmzone.h2
-rw-r--r--arch/sh/include/asm/setup.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/include/asm/mmzone.h b/arch/sh/include/asm/mmzone.h
index 2969253c4042..7f5363b29ba0 100644
--- a/arch/sh/include/asm/mmzone.h
+++ b/arch/sh/include/asm/mmzone.h
@@ -4,6 +4,8 @@
#ifdef __KERNEL__
#ifdef CONFIG_NEED_MULTIPLE_NODES
+#include <linux/numa.h>
+
extern struct pglist_data *node_data[];
#define NODE_DATA(nid) (node_data[nid])
diff --git a/arch/sh/include/asm/setup.h b/arch/sh/include/asm/setup.h
index 554f865075ca..1b7856f5924c 100644
--- a/arch/sh/include/asm/setup.h
+++ b/arch/sh/include/asm/setup.h
@@ -1,7 +1,7 @@
#ifndef _SH_SETUP_H
#define _SH_SETUP_H
-#include <asm/mmzone.h>
+#include <linux/mmzone.h>
#define COMMAND_LINE_SIZE 256