powertop: IPIs and hw irqs were swapped, fixing
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
parent
c3f1fa10d6
commit
d8b687f992
@ -376,7 +376,7 @@ static void process_irq_counts(void)
|
||||
name = p;
|
||||
strchrnul(name, '\n')[0] = '\0';
|
||||
/* Save description of the interrupt */
|
||||
if (nr < 20000)
|
||||
if (nr >= 20000)
|
||||
sprintf(irq_desc, " <kernel IPI> : %s", name);
|
||||
else
|
||||
sprintf(irq_desc, " <interrupt> : %s", name);
|
||||
|
Loading…
Reference in New Issue
Block a user