diff options
| author | Paul Mackerras <paulus@samba.org> | 2006-03-28 21:24:50 -0500 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2006-03-28 21:24:50 -0500 |
| commit | bac30d1a78d0f11c613968fc8b351a91ed465386 (patch) | |
| tree | e52f3c876522a2f6047a6ec1c27df2e8a79486b8 /mm/swap.c | |
| parent | e8222502ee6157e2713da9e0792c21f4ad458d50 (diff) | |
| parent | ca9ba4471c1203bb6e759b76e83167fec54fe590 (diff) | |
Merge ../linux-2.6
Diffstat (limited to 'mm/swap.c')
| -rw-r--r-- | mm/swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -512,7 +512,7 @@ long percpu_counter_sum(struct percpu_counter *fbc) | |||
| 512 | 512 | ||
| 513 | spin_lock(&fbc->lock); | 513 | spin_lock(&fbc->lock); |
| 514 | ret = fbc->count; | 514 | ret = fbc->count; |
| 515 | for_each_cpu(cpu) { | 515 | for_each_possible_cpu(cpu) { |
| 516 | long *pcount = per_cpu_ptr(fbc->counters, cpu); | 516 | long *pcount = per_cpu_ptr(fbc->counters, cpu); |
| 517 | ret += *pcount; | 517 | ret += *pcount; |
| 518 | } | 518 | } |
