All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] arch/h8300/kernel/setup.c should always #include <asm/pgtable.h>
@ 2006-09-03 22:19 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-09-03 22:19 UTC (permalink / raw)
  To: ysato; +Cc: linux-kernel

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@stusta.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-03 22:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-03 22:19 [2.6 patch] arch/h8300/kernel/setup.c should always #include <asm/pgtable.h> Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.