summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/hardirq.h
diff options
context:
space:
mode:
authorfan.du <fan.du@windriver.com>2013-01-23 12:06:11 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-12-02 07:14:50 +0400
commitc041cfa2af1ccb8d0346dc576144a1085e9b4d4b (patch)
treeb1845d3b2be314dbfa6358fb100680e659a86e3e /arch/powerpc/include/asm/hardirq.h
parent0ce636700c5bad54eda0e62903a1803f6d67b31d (diff)
downloadlinux-c041cfa2af1ccb8d0346dc576144a1085e9b4d4b.tar.xz
powerpc: Make irq_stat.timers_irqs counting more specific
Current irq_stat.timers_irqs counting doesn't discriminate timer event handler and other timer interrupt(like arch_irq_work_raise). Sometimes we need to know exactly how much interrupts timer event handler fired, so let's be more specific on this. Signed-off-by: Fan Du <fan.du@windriver.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/hardirq.h')
-rw-r--r--arch/powerpc/include/asm/hardirq.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/hardirq.h b/arch/powerpc/include/asm/hardirq.h
index 3bdcfce2c42a..418fb654370d 100644
--- a/arch/powerpc/include/asm/hardirq.h
+++ b/arch/powerpc/include/asm/hardirq.h
@@ -6,7 +6,8 @@
typedef struct {
unsigned int __softirq_pending;
- unsigned int timer_irqs;
+ unsigned int timer_irqs_event;
+ unsigned int timer_irqs_others;
unsigned int pmu_irqs;
unsigned int mce_exceptions;
unsigned int spurious_irqs;