]> err.no Git - linux-2.6/commitdiff
sh: x3 - fix setup_bootmem_node() compile error with shx3_defconfig
authorMagnus Damm <damm@igel.co.jp>
Sun, 12 Aug 2007 06:18:33 +0000 (15:18 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:49 +0000 (11:57 +0900)
This makes sure the function prototype for setup_bootmem_node() gets
included. The file setup-shx3.c does not compile otherwise for
CONFIG_NUMA=n.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/setup-shx3.c

index 98f153554debb5dd5d58dc265eac3c7612b20ad4..610343ea9a84970b970c55bdd73a5619749c9ead 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/init.h>
 #include <linux/serial.h>
 #include <linux/io.h>
+#include <asm/mmzone.h>
 #include <asm/sci.h>
 
 static struct plat_sci_port sci_platform_data[] = {