From: Brian Haley Date: Mon, 18 Sep 2006 07:04:22 +0000 (-0700) Subject: [SCTP]: Change globals to __read_mostly X-Git-Tag: firefly_0821_release~33646^2~73 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4cbf1cae9f08c76ed92700090a69a5b1f1f6a982;p=firefly-linux-kernel-4.4.55.git [SCTP]: Change globals to __read_mostly Change sctp globals to __read_mostly. Signed-off-by: Brian Haley Signed-off-by: David S. Miller --- diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index 5692ef5485d3..d9dd4c47bc29 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c @@ -61,7 +61,7 @@ #include /* 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;