git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
[sfrench/cifs-2.6.git]
/
net
/
ipv4
/
proc.c
diff --git
a/net/ipv4/proc.c
b/net/ipv4/proc.c
index 39d49dc333a7f0dc47e1bbd1f8d7a7c02c3f2cfb..1b167c4bb3beb0254f446a6ab21ca41fd87a0455 100644
(file)
--- a/
net/ipv4/proc.c
+++ b/
net/ipv4/proc.c
@@
-49,7
+49,7
@@
static int fold_prot_inuse(struct proto *proto)
int res = 0;
int cpu;
- for
(cpu = 0; cpu < NR_CPUS; cpu++
)
+ for
_each_cpu(cpu
)
res += proto->stats[cpu].inuse;
return res;