aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/proc.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2007-04-24 16:22:42 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:29:50 -0700
commitbb7ec6dfb5aa32b5b4d7d6388b4098b33cd01e8c (patch)
tree49d06e7bfd6737bfa7dd36e508201d1ccf82a369 /net/ipv4/proc.c
parent84299b3bc4eaedc0734fcc9052b01291e44445fc (diff)
downloadkernel_samsung_aries-bb7ec6dfb5aa32b5b4d7d6388b4098b33cd01e8c.zip
kernel_samsung_aries-bb7ec6dfb5aa32b5b4d7d6388b4098b33cd01e8c.tar.gz
kernel_samsung_aries-bb7ec6dfb5aa32b5b4d7d6388b4098b33cd01e8c.tar.bz2
[IPV4]: Fix build without procfs.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/proc.c')
-rw-r--r--net/ipv4/proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c
index 97952d5..a236154 100644
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -45,6 +45,7 @@
#include <net/sock.h>
#include <net/raw.h>
+#ifdef CONFIG_PROC_FS
static int fold_prot_inuse(struct proto *proto)
{
int res = 0;
@@ -390,6 +391,7 @@ out_netstat:
rc = -ENOMEM;
goto out;
}
+#endif
int snmp_mib_init(void *ptr[2], size_t mibsize, size_t mibalign)
{