]> err.no Git - linux-2.6/blobdiff - net/socket.c
[PATCH] handle errors returned by platform_get_irq*()
[linux-2.6] / net / socket.c
index 8aa5f1188e9ba1eaae67835283933dced8fc6f20..7e1bdef8b09e7bc2078ba4514f77b5b365064b45 100644 (file)
@@ -2075,7 +2075,7 @@ void socket_seq_show(struct seq_file *seq)
        int cpu;
        int counter = 0;
 
-       for (cpu = 0; cpu < NR_CPUS; cpu++)
+       for_each_cpu(cpu)
                counter += per_cpu(sockets_in_use, cpu);
 
        /* It can be negative, by the way. 8) */