sctp: Don't abort initialization when CONFIG_PROC_FS=n
authorFlorian Westphal <fw@strlen.de>
Sat, 19 Jul 2008 06:03:44 +0000 (23:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jul 2008 06:03:44 +0000 (23:03 -0700)
commitc4e85f82edcd6027cfe67331a2e00741b009756b
tree12ac8ea4bb89dbb5671022361dd0c0b78f10ec87
parentc1e20f7c8b9ccbafc9ea78f2b406738728ce6b81
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>
net/sctp/Kconfig
net/sctp/Makefile
net/sctp/protocol.c