[PATCH v2] menu: fix embedded menu presentation

From: Randy Dunlap
Date: Wed May 06 2009 - 22:16:02 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

The STRIP_ASM_SYMS kconfig symbol mucks up the embedded menu
because STRIP_ASM_SYMS is in the middle of the embedded menu items
but it does not depend on EMBEDDED. Move it to beyond the end
of the embedded menu so that the menu is presented correctly.

or if STRIP_ASM_SYMS should depend on EMBEDDED, that can also
be fixed.

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
init/Kconfig | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

--- linux-2.6.30-rc4-git3.orig/init/Kconfig
+++ linux-2.6.30-rc4-git3/init/Kconfig
@@ -808,14 +808,6 @@ config KALLSYMS_EXTRA_PASS
you wait for kallsyms to be fixed.


-config STRIP_ASM_SYMS
- bool "Strip assembler-generated symbols during link"
- default n
- help
- Strip internal assembler-generated symbols during a link (symbols
- that look like '.Lxxx') so they don't pollute the output of
- get_wchan() and suchlike.
-
config HOTPLUG
bool "Support for hot-pluggable devices" if EMBEDDED
default y
@@ -961,6 +953,14 @@ config SLUB_DEBUG
SLUB sysfs support. /sys/slab will not exist and there will be
no support for cache validation etc.

+config STRIP_ASM_SYMS
+ bool "Strip assembler-generated symbols during link"
+ default n
+ help
+ Strip internal assembler-generated symbols during a link (symbols
+ that look like '.Lxxx') so they don't pollute the output of
+ get_wchan() and suchlike.
+
config COMPAT_BRK
bool "Disable heap randomization"
default y
--
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/