Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105207
b: refs/heads/master
c: 0e12f84
h: refs/heads/master
i:
  105205: 8bcc7b3
  105203: e07b8e4
  105199: 8e146b0
v: v3
  • Loading branch information
Mike Travis authored and Thomas Gleixner committed May 23, 2008
1 parent f97f02d commit aafa100
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d6a4360876f1e758e215570ccb04518db7cec3a
refs/heads/master: 0e12f848b337fc034ceb3c0d03d75f8de1b8cc96
4 changes: 2 additions & 2 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2239,7 +2239,7 @@ static void net_rx_action(struct softirq_action *h)
*/
if (!cpus_empty(net_dma.channel_mask)) {
int chan_idx;
for_each_cpu_mask(chan_idx, net_dma.channel_mask) {
for_each_cpu_mask_nr(chan_idx, net_dma.channel_mask) {
struct dma_chan *chan = net_dma.channels[chan_idx];
if (chan)
dma_async_memcpy_issue_pending(chan);
Expand Down Expand Up @@ -4300,7 +4300,7 @@ static void net_dma_rebalance(struct net_dma *net_dma)
i = 0;
cpu = first_cpu(cpu_online_map);

for_each_cpu_mask(chan_idx, net_dma->channel_mask) {
for_each_cpu_mask_nr(chan_idx, net_dma->channel_mask) {
chan = net_dma->channels[chan_idx];

n = ((num_online_cpus() / cpus_weight(net_dma->channel_mask))
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/iucv/iucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ static void iucv_setmask_up(void)
/* Disable all cpu but the first in cpu_irq_cpumask. */
cpumask = iucv_irq_cpumask;
cpu_clear(first_cpu(iucv_irq_cpumask), cpumask);
for_each_cpu_mask(cpu, cpumask)
for_each_cpu_mask_nr(cpu, cpumask)
smp_call_function_single(cpu, iucv_block_cpu, NULL, 0, 1);
}

Expand Down

0 comments on commit aafa100

Please sign in to comment.