Parcourir la source

sh: Fix up NUMA build error with se7722_defconfig.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt il y a 16 ans
Parent
commit
6bff1592d8
2 fichiers modifiés avec 3 ajouts et 1 suppressions
  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 CONFIG_NEED_MULTIPLE_NODES
+#include <linux/numa.h>
+
 extern struct pglist_data *node_data[];
 #define NODE_DATA(nid)		(node_data[nid])
 

+ 1 - 1
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