[SCTP]: Change globals to __read_mostly
authorBrian Haley <brian.haley@hp.com>
Mon, 18 Sep 2006 07:04:22 +0000 (00:04 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:53 +0000 (15:18 -0700)
Change sctp globals to __read_mostly.

Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c

index 5692ef5485d35654b384962f84a13b765436cdaf..d9dd4c47bc293d469521ec9b9430bdc579024a2e 100644 (file)
@@ -61,7 +61,7 @@
 #include <net/inet_ecn.h>
 
 /* Global data structures. */
-struct sctp_globals sctp_globals;
+struct sctp_globals sctp_globals __read_mostly;
 struct proc_dir_entry  *proc_net_sctp;
 DEFINE_SNMP_STAT(struct sctp_mib, sctp_statistics) __read_mostly;