diff options
author | Florian Westphal <fw@strlen.de> | 2008-07-18 23:03:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-18 23:03:44 -0700 |
commit | c4e85f82edcd6027cfe67331a2e00741b009756b (patch) | |
tree | 12ac8ea4bb89dbb5671022361dd0c0b78f10ec87 /net/sctp/Kconfig | |
parent | c1e20f7c8b9ccbafc9ea78f2b406738728ce6b81 (diff) | |
download | linux-c4e85f82edcd6027cfe67331a2e00741b009756b.tar.gz linux-c4e85f82edcd6027cfe67331a2e00741b009756b.tar.bz2 linux-c4e85f82edcd6027cfe67331a2e00741b009756b.zip |
sctp: Don't abort initialization when CONFIG_PROC_FS=n
This puts CONFIG_PROC_FS defines around the proc init/exit functions
and also avoids compiling proc.c if procfs is not supported.
Also make SCTP_DBG_OBJCNT depend on procfs.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/Kconfig')
-rw-r--r-- | net/sctp/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/Kconfig b/net/sctp/Kconfig index 0b79f869c4ea..58b3e882a187 100644 --- a/net/sctp/Kconfig +++ b/net/sctp/Kconfig @@ -47,11 +47,11 @@ config SCTP_DBG_MSG config SCTP_DBG_OBJCNT bool "SCTP: Debug object counts" + depends on PROC_FS help If you say Y, this will enable debugging support for counting the type of objects that are currently allocated. This is useful for - identifying memory leaks. If the /proc filesystem is enabled this - debug information can be viewed by + identifying memory leaks. This debug information can be viewed by 'cat /proc/net/sctp/sctp_dbg_objcnt' If unsure, say N |