Commit c61b0c13 authored by Andi Kleen's avatar Andi Kleen Committed by Simon Horman
Browse files

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: default avatarAndi Kleen <ak@linux.intel.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent 0768b3b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,