mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04: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
1 changed files with 6 additions and 4 deletions
|
|
@ -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 a new issue