public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] DEBUG_FS must depend on SYSFS
@ 2005-07-23 22:05 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-07-23 22:05 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-kernel

CONFIG_DEBUG_FS=y and CONFIG_SYSFS=n results in the following compile 
error:

<--  snip  -->

...
  LD      vmlinux
fs/built-in.o: In function `debugfs_init':
inode.c:(.init.text+0x31be): undefined reference to `kernel_subsys'
make: *** [vmlinux] Error 1

<--  snip  -->


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.13-rc3-mm1-full/lib/Kconfig.debug.old	2005-07-23 22:20:35.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/lib/Kconfig.debug	2005-07-23 22:20:49.000000000 +0200
@@ -170,7 +170,7 @@
 
 config DEBUG_FS
 	bool "Debug Filesystem"
-	depends on DEBUG_KERNEL
+	depends on DEBUG_KERNEL && SYSFS
 	help
 	  debugfs is a virtual file system that kernel developers use to put
 	  debugging files into.  Enable this option to be able to read and


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-23 22:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-23 22:05 [2.6 patch] DEBUG_FS must depend on SYSFS Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox