diff options
author | Andi Kleen | 2014-02-08 08:57:01 +0100 |
---|---|---|
committer | Simon Horman | 2014-03-07 04:36:21 +0100 |
commit | c61b0c1328288d946bc9a9131f89c46e74d2d23b (patch) | |
tree | 4f27657b89cf615d6aaf23995b1d4a1b9f83bd8e | |
parent | netfilter: nf_tables: add optional user data area to rules (diff) | |
download | kernel-qcow2-linux-c61b0c1328288d946bc9a9131f89c46e74d2d23b.tar.gz kernel-qcow2-linux-c61b0c1328288d946bc9a9131f89c46e74d2d23b.tar.xz kernel-qcow2-linux-c61b0c1328288d946bc9a9131f89c46e74d2d23b.zip |
sections, ipvs: Remove useless __read_mostly for ipvs genl_ops
const __read_mostly does not make any sense, because const
data is already read-only. Remove the __read_mostly
for the ipvs genl_ops. This avoids a LTO
section conflict compile problem.
Cc: Wensong Zhang <wensong@linux-vs.org>
Cc: Simon Horman <horms@verge.net.au>
Cc: Patrick McHardy <kaber@trash.net>
Cc: lvs-devel@vger.kernel.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | net/netfilter/ipvs/ip_vs_ctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c index 35be035ee0ce..2a68a3889553 100644 --- a/net/netfilter/ipvs/ip_vs_ctl.c +++ b/net/netfilter/ipvs/ip_vs_ctl.c @@ -3580,7 +3580,7 @@ out: } -static const struct genl_ops ip_vs_genl_ops[] __read_mostly = { +static const struct genl_ops ip_vs_genl_ops[] = { { .cmd = IPVS_CMD_NEW_SERVICE, .flags = GENL_ADMIN_PERM, |