]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Rename PMU interrupts from CNT to PMI
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 4 Jun 2013 04:21:17 +0000 (14:21 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 1 Aug 2013 03:11:46 +0000 (13:11 +1000)
commit34b6f3bf5b835cd93da055f3eee2a497fe382201
treecfce088fc550f2b9e46b347aac8fae578dffdad6
parentcb8944c0c2c97e35a3590d6373d458662b57c0a4
powerpc: Rename PMU interrupts from CNT to PMI

Back in commit 8daf602 "Add timer, performance monitor and machine check
counts to /proc/interrupts" we added a count of PMU interrupts to the
output of /proc/interrupts.

At the time we named them "CNT" to match x86.

However in commit 32d28e7 "Rename 'performance counter interrupt'", the
x86 guys renamed theirs from "CNT" to "PMI".

Arguably changing the name could break someone's script, but I think the
chance of that is minimal, and it's preferable to have a name that 1) is
somewhat meaningful, and 2) matches x86.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/irq.c