diff options
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index cc9423de7311..60b11aece5c3 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -244,7 +244,7 @@ static unsigned int rt_hash_rnd; | |||
244 | 244 | ||
245 | static DEFINE_PER_CPU(struct rt_cache_stat, rt_cache_stat); | 245 | static DEFINE_PER_CPU(struct rt_cache_stat, rt_cache_stat); |
246 | #define RT_CACHE_STAT_INC(field) \ | 246 | #define RT_CACHE_STAT_INC(field) \ |
247 | (per_cpu(rt_cache_stat, raw_smp_processor_id()).field++) | 247 | (__raw_get_cpu_var(rt_cache_stat).field++) |
248 | 248 | ||
249 | static int rt_intern_hash(unsigned hash, struct rtable *rth, | 249 | static int rt_intern_hash(unsigned hash, struct rtable *rth, |
250 | struct rtable **res); | 250 | struct rtable **res); |