Browse Source

sh: Fix up NUMA build error with se7722_defconfig.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 16 years ago
parent
commit
6bff1592d8
2 changed files with 3 additions and 1 deletions
  1. 2 0
      arch/sh/include/asm/mmzone.h
  2. 1 1
      arch/sh/include/asm/setup.h

+ 2 - 0
arch/sh/include/asm/mmzone.h

@@ -4,6 +4,8 @@
 #ifdef __KERNEL__
 #ifdef __KERNEL__
 
 
 #ifdef CONFIG_NEED_MULTIPLE_NODES
 #ifdef CONFIG_NEED_MULTIPLE_NODES
+#include <linux/numa.h>
+
 extern struct pglist_data *node_data[];
 extern struct pglist_data *node_data[];
 #define NODE_DATA(nid)		(node_data[nid])
 #define NODE_DATA(nid)		(node_data[nid])
 
 

+ 1 - 1
arch/sh/include/asm/setup.h

@@ -1,7 +1,7 @@
 #ifndef _SH_SETUP_H
 #ifndef _SH_SETUP_H
 #define _SH_SETUP_H
 #define _SH_SETUP_H
 
 
-#include <asm/mmzone.h>
+#include <linux/mmzone.h>
 
 
 #define COMMAND_LINE_SIZE 256
 #define COMMAND_LINE_SIZE 256