Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105206
b: refs/heads/master
c: 6d6a436
h: refs/heads/master
v: v3
  • Loading branch information
Mike Travis authored and Thomas Gleixner committed May 23, 2008
1 parent 8bcc7b3 commit f97f02d
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: 363ab6f1424cdea63e5d182312d60e19077b892a
refs/heads/master: 6d6a4360876f1e758e215570ccb04518db7cec3a
4 changes: 2 additions & 2 deletions trunk/mm/allocpercpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ EXPORT_SYMBOL_GPL(percpu_depopulate);
void __percpu_depopulate_mask(void *__pdata, cpumask_t *mask)
{
int cpu;
for_each_cpu_mask(cpu, *mask)
for_each_cpu_mask_nr(cpu, *mask)
percpu_depopulate(__pdata, cpu);
}
EXPORT_SYMBOL_GPL(__percpu_depopulate_mask);
Expand Down Expand Up @@ -86,7 +86,7 @@ int __percpu_populate_mask(void *__pdata, size_t size, gfp_t gfp,
int cpu;

cpus_clear(populated);
for_each_cpu_mask(cpu, *mask)
for_each_cpu_mask_nr(cpu, *mask)
if (unlikely(!percpu_populate(__pdata, size, gfp, cpu))) {
__percpu_depopulate_mask(__pdata, &populated);
return -ENOMEM;
Expand Down
2 changes: 1 addition & 1 deletion trunk/mm/vmstat.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static void sum_vm_events(unsigned long *ret, cpumask_t *cpumask)

memset(ret, 0, NR_VM_EVENT_ITEMS * sizeof(unsigned long));

for_each_cpu_mask(cpu, *cpumask) {
for_each_cpu_mask_nr(cpu, *cpumask) {
struct vm_event_state *this = &per_cpu(vm_event_states, cpu);

for (i = 0; i < NR_VM_EVENT_ITEMS; i++)
Expand Down

0 comments on commit f97f02d

Please sign in to comment.