diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-04-25 00:53:35 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:29:51 -0400 |
commit | 5e0f04351d11e07a23b5ab4914282cbb78027e50 (patch) | |
tree | 271fbed72ec607ecb8f7574a3b450aee1b0c8186 /net/ipv4/Makefile | |
parent | bb7ec6dfb5aa32b5b4d7d6388b4098b33cd01e8c (diff) |
[IPV4]: Consolidate common SNMP code
This patch moves the SNMP code shared between IPv4/IPv6 from proc.c
into net/ipv4/af_inet.c. This makes sense because these functions
aren't specific to /proc.
As a result we can again skip proc.o if /proc is disabled.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/Makefile')
-rw-r--r-- | net/ipv4/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/Makefile b/net/ipv4/Makefile index 3bd25f56f5da..4ff6c151d7f3 100644 --- a/net/ipv4/Makefile +++ b/net/ipv4/Makefile | |||
@@ -10,11 +10,11 @@ obj-y := route.o inetpeer.o protocol.o \ | |||
10 | tcp_minisocks.o tcp_cong.o \ | 10 | tcp_minisocks.o tcp_cong.o \ |
11 | datagram.o raw.o udp.o udplite.o \ | 11 | datagram.o raw.o udp.o udplite.o \ |
12 | arp.o icmp.o devinet.o af_inet.o igmp.o \ | 12 | arp.o icmp.o devinet.o af_inet.o igmp.o \ |
13 | sysctl_net_ipv4.o fib_frontend.o fib_semantics.o \ | 13 | sysctl_net_ipv4.o fib_frontend.o fib_semantics.o |
14 | proc.o | ||
15 | 14 | ||
16 | obj-$(CONFIG_IP_FIB_HASH) += fib_hash.o | 15 | obj-$(CONFIG_IP_FIB_HASH) += fib_hash.o |
17 | obj-$(CONFIG_IP_FIB_TRIE) += fib_trie.o | 16 | obj-$(CONFIG_IP_FIB_TRIE) += fib_trie.o |
17 | obj-$(CONFIG_PROC_FS) += proc.o | ||
18 | obj-$(CONFIG_IP_MULTIPLE_TABLES) += fib_rules.o | 18 | obj-$(CONFIG_IP_MULTIPLE_TABLES) += fib_rules.o |
19 | obj-$(CONFIG_IP_MROUTE) += ipmr.o | 19 | obj-$(CONFIG_IP_MROUTE) += ipmr.o |
20 | obj-$(CONFIG_NET_IPIP) += ipip.o | 20 | obj-$(CONFIG_NET_IPIP) += ipip.o |