net: convert usage of packet_type to read_mostly
authorStephen Hemminger <shemminger@vyatta.com>
Mon, 9 Mar 2009 08:18:29 +0000 (08:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2009 12:22:43 +0000 (05:22 -0700)
commit7546dd97d27306d939c13e03318aae695badaa88
treeced310466fd679ceae4e676ae8c31fd78b7bd72f
parent3f612132c7164d5cc9ed677a2fdf8950222d2170
net: convert usage of packet_type to read_mostly

Protocols that use packet_type can be __read_mostly section for better
locality. Elminate any unnecessary initializations of NULL.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 files changed:
drivers/block/aoe/aoenet.c
drivers/net/hamradio/bpqether.c
drivers/net/pppoe.c
drivers/net/wan/hdlc.c
drivers/net/wan/lapbether.c
net/8021q/vlan.c
net/appletalk/ddp.c
net/ax25/af_ax25.c
net/decnet/af_decnet.c
net/dsa/tag_dsa.c
net/dsa/tag_edsa.c
net/dsa/tag_trailer.c
net/econet/af_econet.c
net/ipv4/af_inet.c
net/ipv4/arp.c
net/ipv6/af_inet6.c
net/ipx/af_ipx.c
net/irda/irmod.c
net/llc/llc_core.c
net/phonet/af_phonet.c
net/x25/af_x25.c