diff options
author | Denys Vlasenko | 2010-10-26 12:42:53 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-10-26 12:42:53 +0200 |
commit | d8b687f99257772f62edd7c4641427280841e1c5 (patch) | |
tree | 0d8330a6510dbbb67c3a3e0602386ba481a22af2 /procps | |
parent | c3f1fa10d601eb5e1b92f55fb49bbd59cde71705 (diff) | |
download | busybox-d8b687f99257772f62edd7c4641427280841e1c5.zip busybox-d8b687f99257772f62edd7c4641427280841e1c5.tar.gz |
powertop: IPIs and hw irqs were swapped, fixing
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'procps')
-rw-r--r-- | procps/powertop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/powertop.c b/procps/powertop.c index 5792048..3d98b9b 100644 --- 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); |