mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
parisc: Show rescheduling interrupts on SMP machines only
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
81fe5bba88
commit
237a97d61e
@ -175,10 +175,12 @@ int arch_show_interrupts(struct seq_file *p, int prec)
|
||||
# endif
|
||||
#endif
|
||||
#ifdef CONFIG_SMP
|
||||
seq_printf(p, "%*s: ", prec, "RES");
|
||||
for_each_online_cpu(j)
|
||||
seq_printf(p, "%10u ", irq_stats(j)->irq_resched_count);
|
||||
seq_puts(p, " Rescheduling interrupts\n");
|
||||
if (num_online_cpus() > 1) {
|
||||
seq_printf(p, "%*s: ", prec, "RES");
|
||||
for_each_online_cpu(j)
|
||||
seq_printf(p, "%10u ", irq_stats(j)->irq_resched_count);
|
||||
seq_puts(p, " Rescheduling interrupts\n");
|
||||
}
|
||||
#endif
|
||||
seq_printf(p, "%*s: ", prec, "UAH");
|
||||
for_each_online_cpu(j)
|
||||
|
Loading…
Reference in New Issue
Block a user