summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-04-29 16:16:06 -0700
committerPekka Enberg <penberg@cs.helsinki.fi>2008-05-02 00:27:13 +0300
commitf6acb63508700b5f8cd817082b62c96ba907775e (patch)
tree0fc0cdd4660fdf186f3becc1b80d743f8d3edbea /init
parentf715e6f15ee167026581a8a2e09b2ed644b974aa (diff)
downloadlwn-f6acb63508700b5f8cd817082b62c96ba907775e.tar.gz
lwn-f6acb63508700b5f8cd817082b62c96ba907775e.zip
slub: #ifdef simplification
If we make SLUB_DEBUG depend on SYSFS then we can simplify some #ifdefs and avoid others. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 3e7b257fc05f..6a44defac3ec 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -720,7 +720,7 @@ config VM_EVENT_COUNTERS
config SLUB_DEBUG
default y
bool "Enable SLUB debugging support" if EMBEDDED
- depends on SLUB
+ depends on SLUB && SYSFS
help
SLUB has extensive debug support features. Disabling these can
result in significant savings in code size. This also disables