Skip to contentSkip to conversation

sparc build breakage

PATCH New Al Viro 1 participant 1 message Jun 15, 2006 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 sparc build breakage

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.

---

 arch/sparc/kernel/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

863c76a6fe8c5d4e42b03a255f67739402e25c0d

arch/sparc/kernel/setup.c +1 -1
index 3509e43..0da5789 100644
@@ -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);	
Signature · 1 line
1.3.GIT