diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-08-02 18:02:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-08-02 18:02:31 -0400 |
commit | 29bbd72d6ee1dbf2d9f00d022f8e999aa528fb3a (patch) | |
tree | 4bc8ba22fff42b1da83cab3b3d8113b6d4771b7a /net/core | |
parent | 95ce568812822931991a24147987c5c75c0ac5b0 (diff) |
[NET]: Fix more per-cpu typos
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index f25d7ecaf035..d95e2626d944 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -3421,7 +3421,7 @@ static void net_dma_rebalance(void) | |||
3421 | 3421 | ||
3422 | if (net_dma_count == 0) { | 3422 | if (net_dma_count == 0) { |
3423 | for_each_online_cpu(cpu) | 3423 | for_each_online_cpu(cpu) |
3424 | rcu_assign_pointer(per_cpu(softnet_data.net_dma, cpu), NULL); | 3424 | rcu_assign_pointer(per_cpu(softnet_data, cpu).net_dma, NULL); |
3425 | return; | 3425 | return; |
3426 | } | 3426 | } |
3427 | 3427 | ||
@@ -3434,7 +3434,7 @@ static void net_dma_rebalance(void) | |||
3434 | + (i < (num_online_cpus() % net_dma_count) ? 1 : 0)); | 3434 | + (i < (num_online_cpus() % net_dma_count) ? 1 : 0)); |
3435 | 3435 | ||
3436 | while(n) { | 3436 | while(n) { |
3437 | per_cpu(softnet_data.net_dma, cpu) = chan; | 3437 | per_cpu(softnet_data, cpu).net_dma = chan; |
3438 | cpu = next_cpu(cpu, cpu_online_map); | 3438 | cpu = next_cpu(cpu, cpu_online_map); |
3439 | n--; | 3439 | n--; |
3440 | } | 3440 | } |