Thread (6 messages) flat view 6 messages, 3 authors, 2006-10-18
STALE7278d

[PATCH 1/2] ramdisk: make powerpc allmodconfig build

From: Randy Dunlap <hidden>
Date: 2006-10-17 19:54:53

From: Randy Dunlap <redacted>

Fix build error for allmodconfig on powerpc:
arch/powerpc/platforms/built-in.o:(.toc+0x10b0): undefined reference to `rd_size'

Signed-off-by: Randy Dunlap <redacted>
---
 arch/powerpc/platforms/iseries/setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2619-rc2-pv.orig/arch/powerpc/platforms/iseries/setup.c
+++ linux-2619-rc2-pv/arch/powerpc/platforms/iseries/setup.c
@@ -295,7 +295,7 @@ static void __init iSeries_init_early(vo
 {
 	DBG(" -> iSeries_init_early()\n");
 
-#if defined(CONFIG_BLK_DEV_INITRD)
+#if defined(CONFIG_BLK_DEV_INITRD) && defined(CONFIG_BLK_DEV_RAM)
 	/*
 	 * If the init RAM disk has been configured and there is
 	 * a non-zero starting address for it, set it up


---
---
~Randy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help