From: Andrew Morton Randy points out: > I have a (randconfig) build of 2.6.19-rc5-mm2 with: > > CONFIG_DEBUG_READAHEAD=y > > which selects DEBUG_FS, so DEBUG_FS=y, but DEBUG_FS depends on > SYSFS, and SYSFS is not set in the randconfig. > > This randconfig causes this build error: > > fs/built-in.o: In function `debugfs_init': > inode.c:(.init.text+0xdb2): undefined reference to `kernel_subsys' > `select' is evil. Kill. Cc: Wu Fengguang Cc: "Randy.Dunlap" Signed-off-by: Andrew Morton --- mm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/Kconfig~readahead-kconfig-options-fix mm/Kconfig --- a/mm/Kconfig~readahead-kconfig-options-fix +++ a/mm/Kconfig @@ -196,7 +196,7 @@ config DEBUG_READAHEAD bool "Readahead debug and accounting" default n depends on ADAPTIVE_READAHEAD - select DEBUG_FS + depends on DEBUG_FS help This option injects extra code to dump detailed debug traces and do readahead events accounting. _