* [PATCH] sparc build breakage
@ 2006-06-15 11:29 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2006-06-15 11:29 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, David S. Miller
rd_prompt et.al. depend on CONFIG_BLK_DEV_RAM, not CONFIG_BLK_INITRD; now
that those are independent, setup.c blows with INITRD on and BLK_DEV_RAM
off.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
arch/sparc/kernel/setup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
863c76a6fe8c5d4e42b03a255f67739402e25c0d
diff --git a/arch/sparc/kernel/setup.c b/arch/sparc/kernel/setup.c
index 3509e43..0da5789 100644
--- a/arch/sparc/kernel/setup.c
+++ b/arch/sparc/kernel/setup.c
@@ -331,7 +331,7 @@ #endif
if (!root_flags)
root_mountflags &= ~MS_RDONLY;
ROOT_DEV = old_decode_dev(root_dev);
-#ifdef CONFIG_BLK_DEV_INITRD
+#ifdef CONFIG_BLK_DEV_RAM
rd_image_start = ram_flags & RAMDISK_IMAGE_START_MASK;
rd_prompt = ((ram_flags & RAMDISK_PROMPT_FLAG) != 0);
rd_doload = ((ram_flags & RAMDISK_LOAD_FLAG) != 0);
--
1.3.GIT
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-15 11:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-15 11:29 [PATCH] sparc build breakage Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome