projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3f1fa1
)
powertop: IPIs and hw irqs were swapped, fixing
author
Denys Vlasenko
<dvlasenk@redhat.com>
Tue, 26 Oct 2010 10:42:53 +0000
(12:42 +0200)
committer
Denys Vlasenko
<dvlasenk@redhat.com>
Tue, 26 Oct 2010 10:42:53 +0000
(12:42 +0200)
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
procps/powertop.c
patch
|
blob
|
history
diff --git
a/procps/powertop.c
b/procps/powertop.c
index 5792048dca9939ab9e575a737f5dd76e2813078c..3d98b9bdaaf47b9e37cb96878c765b67c641955c 100644
(file)
--- a/
procps/powertop.c
+++ b/
procps/powertop.c
@@
-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);