projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] more for_each_cpu() conversions
[deliverable/linux.git]
/
arch
/
sh64
/
kernel
/
irq.c
diff --git
a/arch/sh64/kernel/irq.c
b/arch/sh64/kernel/irq.c
index 9fc2b71dbd84be191ddef033a43ce637562b3bfc..d69879c0e063dc7ed39f890fd5020345f830a268 100644
(file)
--- a/
arch/sh64/kernel/irq.c
+++ b/
arch/sh64/kernel/irq.c
@@
-53,9
+53,8
@@
int show_interrupts(struct seq_file *p, void *v)
if (i == 0) {
seq_puts(p, " ");
- for (j=0; j<NR_CPUS; j++)
- if (cpu_online(j))
- seq_printf(p, "CPU%d ",j);
+ for_each_online_cpu(j)
+ seq_printf(p, "CPU%d ",j);
seq_putc(p, '\n');
}
This page took
0.025428 seconds
and
5
git commands to generate.