Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125696
b: refs/heads/master
c: 3e59794
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell committed Dec 31, 2008
1 parent 66381b6 commit bc2cf7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: f1fc057c79cb2d27602fb3ad08a031f13459ef27
refs/heads/master: 3e597945384dee1457240158eb81e3afb90b68c2
2 changes: 1 addition & 1 deletion trunk/mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -2141,7 +2141,7 @@ static int __devinit cpu_callback(struct notifier_block *nfb,
pg_data_t *pgdat = NODE_DATA(nid);
node_to_cpumask_ptr(mask, pgdat->node_id);

if (any_online_cpu(*mask) < nr_cpu_ids)
if (cpumask_any_and(cpu_online_mask, mask) < nr_cpu_ids)
/* One of our CPUs online: restore mask */
set_cpus_allowed_ptr(pgdat->kswapd, mask);
}
Expand Down

0 comments on commit bc2cf7a

Please sign in to comment.