diff options
author | Julian Anastasov <ja@ssi.bg> | 2013-03-09 16:25:08 -0500 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-03-19 08:18:38 -0400 |
commit | b962abdc6531c8de837504ebc98139587162f223 (patch) | |
tree | 6bbf692a799b00be72bbf5e821f74798e3aa8765 /include/net/ip_vs.h | |
parent | e9836f24f2e2a12336f7c95964661d5ea3d5a6a1 (diff) |
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 68c69d54d392..29bc05577560 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h | |||
@@ -459,7 +459,7 @@ struct ip_vs_estimator { | |||
459 | struct ip_vs_stats { | 459 | struct ip_vs_stats { |
460 | struct ip_vs_stats_user ustats; /* statistics */ | 460 | struct ip_vs_stats_user ustats; /* statistics */ |
461 | struct ip_vs_estimator est; /* estimator */ | 461 | struct ip_vs_estimator est; /* estimator */ |
462 | struct ip_vs_cpu_stats *cpustats; /* per cpu counters */ | 462 | struct ip_vs_cpu_stats __percpu *cpustats; /* per cpu counters */ |
463 | spinlock_t lock; /* spin lock */ | 463 | spinlock_t lock; /* spin lock */ |
464 | struct ip_vs_stats_user ustats0; /* reset values */ | 464 | struct ip_vs_stats_user ustats0; /* reset values */ |
465 | }; | 465 | }; |