x86: make /proc/stat account for all interrupts
commita2eddfa95919a730e0e5ed17e9c303fe5ba249cd
authorJan Beulich <jbeulich@novell.com>
Mon, 12 May 2008 13:44:41 +0000 (12 15:44 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 05:11:49 +0000 (25 07:11 +0200)
tree19c806c27256fed0a744d8628caa356219e6bf16
parent75d3bce2fc0a80f435fe12f2c9ed2632c8ac29e4
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>
arch/x86/kernel/irq_32.c
arch/x86/kernel/irq_64.c
fs/proc/proc_misc.c
include/asm-x86/hardirq.h