[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20060903221950.GI4416@stusta.de>
Date: Mon, 4 Sep 2006 00:19:50 +0200
From: Adrian Bunk <bunk@...sta.de>
To: ysato@...rs.sourceforge.jp
Cc: linux-kernel@...r.kernel.org
Subject: [2.6 patch] arch/h8300/kernel/setup.c should always #include <asm/pgtable.h>
This patch fixes the following compile error with
CONFIG_BLK_DEV_INITRD=n and -Werror-implicit-function-declaration:
<-- snip -->
...
CC arch/h8300/kernel/setup.o
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/arch/h8300/kernel/setup.c: In function 'setup_arch':
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/arch/h8300/kernel/setup.c:183: error: implicit declaration of function 'paging_init'
make[2]: *** [arch/h8300/kernel/setup.o] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@...sta.de>
--- linux-2.6.18-rc5-mm1/arch/h8300/kernel/setup.c.old 2006-09-04 00:07:33.000000000 +0200
+++ linux-2.6.18-rc5-mm1/arch/h8300/kernel/setup.c 2006-09-04 00:07:42.000000000 +0200
@@ -33,10 +33,7 @@
#include <asm/setup.h>
#include <asm/irq.h>
-
-#ifdef CONFIG_BLK_DEV_INITRD
#include <asm/pgtable.h>
-#endif
#if defined(__H8300H__)
#define CPU "H8/300H"
--
VGER BF report: H 0.0185259
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists