diff options
author | Jody McIntyre <scjody@modernduck.com> | 2006-03-28 20:24:39 -0500 |
---|---|---|
committer | Jody McIntyre <scjody@modernduck.com> | 2006-03-28 20:24:39 -0500 |
commit | c0e4077c946104e5d8a62f835dcdca5c79c8af7d (patch) | |
tree | c1f458722f86690a6172bbac2dfef3241ba0ec7e /mm/swap.c | |
parent | 94c2d01a537daf51a9fcf229d7d2204c979355d9 (diff) | |
parent | ca9ba4471c1203bb6e759b76e83167fec54fe590 (diff) |
Merge with git+ssh://master.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
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 | } |