projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCTP]: Add support for SCTP_DELAYED_ACK_TIME socket option.
[powerpc.git]
/
net
/
sctp
/
proc.c
diff --git
a/net/sctp/proc.c
b/net/sctp/proc.c
index
b74f777
..
6e4dc28
100644
(file)
--- a/
net/sctp/proc.c
+++ b/
net/sctp/proc.c
@@
-69,9
+69,7
@@
fold_field(void *mib[], int nr)
unsigned long res = 0;
int i;
- for (i = 0; i < NR_CPUS; i++) {
- if (!cpu_possible(i))
- continue;
+ for_each_cpu(i) {
res +=
*((unsigned long *) (((void *) per_cpu_ptr(mib[0], i)) +
sizeof (unsigned long) * nr));