]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/core/flow.c
[PATCH] for_each_possible_cpu: network codes
[linux-2.6-omap-h63xx.git] / net / core / flow.c
index 885a2f655db08ea1c44810876611b805fb261da4..2191af5f26acbfe61f6e1633de7d40cfbd83c27c 100644 (file)
@@ -79,7 +79,7 @@ static void flow_cache_new_hashrnd(unsigned long arg)
 {
        int i;
 
-       for_each_cpu(i)
+       for_each_possible_cpu(i)
                flow_hash_rnd_recalc(i) = 1;
 
        flow_hash_rnd_timer.expires = jiffies + FLOW_HASH_RND_PERIOD;
@@ -361,7 +361,7 @@ static int __init flow_cache_init(void)
        flow_hash_rnd_timer.expires = jiffies + FLOW_HASH_RND_PERIOD;
        add_timer(&flow_hash_rnd_timer);
 
-       for_each_cpu(i)
+       for_each_possible_cpu(i)
                flow_cache_cpu_prepare(i);
 
        hotcpu_notifier(flow_cache_cpu, 0);