aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index 8aa5f1188e9b..7e1bdef8b09e 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -2075,7 +2075,7 @@ void socket_seq_show(struct seq_file *seq)
2075 int cpu; 2075 int cpu;
2076 int counter = 0; 2076 int counter = 0;
2077 2077
2078 for (cpu = 0; cpu < NR_CPUS; cpu++) 2078 for_each_cpu(cpu)
2079 counter += per_cpu(sockets_in_use, cpu); 2079 counter += per_cpu(sockets_in_use, cpu);
2080 2080
2081 /* It can be negative, by the way. 8) */ 2081 /* It can be negative, by the way. 8) */