aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-25 08:46:43 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 13:00:54 -0400
commitfb1bb34d45400f12e0a33f8c487b3795674908a7 (patch)
tree11c593c83eff5a83999f4feee0d8937d1f575712 /net/ipv4
parent1e48275adc8c94c3281e646c8beb829f8e6f5bfc (diff)
[PATCH] remove for_each_cpu()
Convert a few stragglers over to for_each_possible_cpu(), remove for_each_cpu(). Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/netfilter/ip_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index cee3397ec277..706c0025ec5e 100644
--- a/net/ipv4/netfilter/ip_tables.c
+++ b/net/ipv4/netfilter/ip_tables.c
@@ -1761,7 +1761,7 @@ translate_compat_table(const char *name,
1761 goto free_newinfo; 1761 goto free_newinfo;
1762 1762
1763 /* And one copy for every other CPU */ 1763 /* And one copy for every other CPU */
1764 for_each_cpu(i) 1764 for_each_possible_cpu(i)
1765 if (newinfo->entries[i] && newinfo->entries[i] != entry1) 1765 if (newinfo->entries[i] && newinfo->entries[i] != entry1)
1766 memcpy(newinfo->entries[i], entry1, newinfo->size); 1766 memcpy(newinfo->entries[i], entry1, newinfo->size);
1767 1767