[PATCH] fix "optimize && ?"

From: Russell King
Date: Fri Mar 19 2004 - 15:48:58 EST


Hi,

This patch prevents the "optimize && ?" message appearing when the
kernel configuration tool is run. The message could be eliminated
from the tool, but I'd rather fix the needlessly over-complicated
expression:

--- orig/drivers/block/Kconfig Fri Mar 19 11:55:32 2004
+++ linux/drivers/block/Kconfig Fri Mar 19 20:39:25 2004
@@ -330,7 +330,7 @@ config BLK_DEV_RAM_SIZE

config BLK_DEV_INITRD
bool "Initial RAM disk (initrd) support"
- depends on BLK_DEV_RAM && BLK_DEV_RAM!=m
+ depends on BLK_DEV_RAM=y
help
The initial RAM disk is a RAM disk that is loaded by the boot loader
(loadlin or lilo) and that is mounted as root before the normal boot

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/