o NET: move net/ipv4/inetpeer.c EXPORT_SYMBOLs from net/netsyms.c

And some leftovers from previous changesets also moved to net/core/dev.c
and net/sched/sch_api.c
parent db99f40f
...@@ -3094,3 +3094,5 @@ EXPORT_SYMBOL(netdev_unregister_fc); ...@@ -3094,3 +3094,5 @@ EXPORT_SYMBOL(netdev_unregister_fc);
EXPORT_SYMBOL(netdev_fastroute); EXPORT_SYMBOL(netdev_fastroute);
EXPORT_SYMBOL(netdev_fastroute_obstacles); EXPORT_SYMBOL(netdev_fastroute_obstacles);
#endif #endif
EXPORT_PER_CPU_SYMBOL(softnet_data);
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
* Authors: Andrey V. Savochkin <saw@msu.ru> * Authors: Andrey V. Savochkin <saw@msu.ru>
*/ */
#include <linux/module.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
...@@ -452,3 +453,5 @@ static void peer_check_expire(unsigned long dummy) ...@@ -452,3 +453,5 @@ static void peer_check_expire(unsigned long dummy)
peer_total / inet_peer_threshold * HZ; peer_total / inet_peer_threshold * HZ;
add_timer(&peer_periodic_timer); add_timer(&peer_periodic_timer);
} }
EXPORT_SYMBOL(inet_peer_idlock);
...@@ -8,27 +8,18 @@ ...@@ -8,27 +8,18 @@
#include <linux/config.h> #include <linux/config.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/types.h>
#include <linux/net.h>
#include <linux/in.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/fddidevice.h> #include <linux/fddidevice.h>
#include <linux/trdevice.h> #include <linux/trdevice.h>
#include <linux/fcdevice.h> #include <linux/fcdevice.h>
#include <linux/tty.h> #include <net/ip.h>
#include <net/snmp.h>
#include <net/checksum.h>
#include <linux/etherdevice.h> #include <linux/etherdevice.h>
#ifdef CONFIG_HIPPI #ifdef CONFIG_HIPPI
#include <linux/hippidevice.h> #include <linux/hippidevice.h>
#endif #endif
#include <net/pkt_sched.h> #include <net/pkt_sched.h>
#include <linux/if_bridge.h>
#include <linux/if_vlan.h>
#include <linux/random.h>
#ifdef CONFIG_INET #ifdef CONFIG_INET
#include <net/inet_common.h>
#if defined(CONFIG_INET_AH) || defined(CONFIG_INET_AH_MODULE) || defined(CONFIG_INET6_AH) || defined(CONFIG_INET6_AH_MODULE) #if defined(CONFIG_INET_AH) || defined(CONFIG_INET_AH_MODULE) || defined(CONFIG_INET6_AH) || defined(CONFIG_INET6_AH_MODULE)
#include <net/ah.h> #include <net/ah.h>
#endif #endif
...@@ -44,10 +35,6 @@ extern void destroy_EII_client(struct datalink_proto *); ...@@ -44,10 +35,6 @@ extern void destroy_EII_client(struct datalink_proto *);
extern void destroy_8023_client(struct datalink_proto *); extern void destroy_8023_client(struct datalink_proto *);
#endif #endif
#ifdef CONFIG_ATALK_MODULE
#include <net/sock.h>
#endif
/* Needed by unix.o */ /* Needed by unix.o */
EXPORT_SYMBOL(files_stat); EXPORT_SYMBOL(files_stat);
...@@ -59,7 +46,6 @@ EXPORT_SYMBOL(destroy_EII_client); ...@@ -59,7 +46,6 @@ EXPORT_SYMBOL(destroy_EII_client);
#endif #endif
#ifdef CONFIG_INET #ifdef CONFIG_INET
EXPORT_SYMBOL(inet_peer_idlock);
/* Route manipulation */ /* Route manipulation */
...@@ -105,7 +91,6 @@ EXPORT_SYMBOL(hippi_type_trans); ...@@ -105,7 +91,6 @@ EXPORT_SYMBOL(hippi_type_trans);
#endif #endif
#ifdef CONFIG_NET_SCHED #ifdef CONFIG_NET_SCHED
PSCHED_EXPORTLIST;
EXPORT_SYMBOL(pfifo_qdisc_ops); EXPORT_SYMBOL(pfifo_qdisc_ops);
EXPORT_SYMBOL(bfifo_qdisc_ops); EXPORT_SYMBOL(bfifo_qdisc_ops);
#ifdef CONFIG_NET_ESTIMATOR #ifdef CONFIG_NET_ESTIMATOR
...@@ -118,6 +103,4 @@ EXPORT_SYMBOL(register_tcf_proto_ops); ...@@ -118,6 +103,4 @@ EXPORT_SYMBOL(register_tcf_proto_ops);
EXPORT_SYMBOL(unregister_tcf_proto_ops); EXPORT_SYMBOL(unregister_tcf_proto_ops);
#endif #endif
EXPORT_PER_CPU_SYMBOL(softnet_data);
#endif /* CONFIG_NET */ #endif /* CONFIG_NET */
...@@ -1261,3 +1261,4 @@ EXPORT_SYMBOL(qdisc_get_rtab); ...@@ -1261,3 +1261,4 @@ EXPORT_SYMBOL(qdisc_get_rtab);
EXPORT_SYMBOL(qdisc_put_rtab); EXPORT_SYMBOL(qdisc_put_rtab);
EXPORT_SYMBOL(register_qdisc); EXPORT_SYMBOL(register_qdisc);
EXPORT_SYMBOL(unregister_qdisc); EXPORT_SYMBOL(unregister_qdisc);
PSCHED_EXPORTLIST;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment