diff options
author | Julian Anastasov <ja@ssi.bg> | 2013-03-09 21:25:08 (GMT) |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-03-19 12:18:38 (GMT) |
commit | b962abdc6531c8de837504ebc98139587162f223 (patch) | |
tree | 6bbf692a799b00be72bbf5e821f74798e3aa8765 /include/net/ip_vs.h | |
parent | e9836f24f2e2a12336f7c95964661d5ea3d5a6a1 (diff) | |
download | linux-b962abdc6531c8de837504ebc98139587162f223.tar.xz |
ipvs: fix some sparse warnings
Add missing __percpu annotations and make ip_vs_net_id static.
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r-- | include/net/ip_vs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 68c69d5..29bc055 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -459,7 +459,7 @@ struct ip_vs_estimator { struct ip_vs_stats { struct ip_vs_stats_user ustats; /* statistics */ struct ip_vs_estimator est; /* estimator */ - struct ip_vs_cpu_stats *cpustats; /* per cpu counters */ + struct ip_vs_cpu_stats __percpu *cpustats; /* per cpu counters */ spinlock_t lock; /* spin lock */ struct ip_vs_stats_user ustats0; /* reset values */ }; |