summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2008-05-12 15:44:41 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 07:11:49 +0200
commita2eddfa95919a730e0e5ed17e9c303fe5ba249cd (patch)
tree19c806c27256fed0a744d8628caa356219e6bf16 /include
parent75d3bce2fc0a80f435fe12f2c9ed2632c8ac29e4 (diff)
downloadblackbird-op-linux-a2eddfa95919a730e0e5ed17e9c303fe5ba249cd.tar.gz
blackbird-op-linux-a2eddfa95919a730e0e5ed17e9c303fe5ba249cd.zip
x86: make /proc/stat account for all interrupts
LAPIC interrupts, which don't go through the generic interrupt handling code, aren't accounted for in /proc/stat. Hence this patch adds a mechanism architectures can use to accordingly adjust the statistics. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/hardirq.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-x86/hardirq.h b/include/asm-x86/hardirq.h
index 314434d664e7..000787df66e6 100644
--- a/include/asm-x86/hardirq.h
+++ b/include/asm-x86/hardirq.h
@@ -3,3 +3,9 @@
#else
# include "hardirq_64.h"
#endif
+
+extern u64 arch_irq_stat_cpu(unsigned int cpu);
+#define arch_irq_stat_cpu arch_irq_stat_cpu
+
+extern u64 arch_irq_stat(void);
+#define arch_irq_stat arch_irq_stat
OpenPOWER on IntegriCloud