summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/hardirq.h
diff options
context:
space:
mode:
authorFernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>2011-12-15 11:32:24 +0900
committerIngo Molnar <mingo@elte.hu>2011-12-18 10:46:48 +0100
commitb49d7d877ff96428c8cd2076b33ba72bf85ceaba (patch)
tree7c0a4983a44bb70710e1efb501f0dcf21266f554 /arch/x86/include/asm/hardirq.h
parent346b46be5f10e4d247160ea94ac34450be60ce1e (diff)
downloadlinux-0-day-b49d7d877ff96428c8cd2076b33ba72bf85ceaba.tar.gz
linux-0-day-b49d7d877ff96428c8cd2076b33ba72bf85ceaba.tar.xz
x86: Convert per-cpu counter icr_read_retry_count into a member of irq_stat
LAPIC related statistics are grouped inside the per-cpu structure irq_stat, so there is no need for icr_read_retry_count to be a standalone per-cpu variable. This patch moves icr_read_retry_count to where it belongs. Suggested-y: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> Cc: Jörn Engel <joern@logfs.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/hardirq.h')
-rw-r--r--arch/x86/include/asm/hardirq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/hardirq.h b/arch/x86/include/asm/hardirq.h
index 55e4de613f0ee..da0b3ca815b7a 100644
--- a/arch/x86/include/asm/hardirq.h
+++ b/arch/x86/include/asm/hardirq.h
@@ -11,6 +11,7 @@ typedef struct {
#ifdef CONFIG_X86_LOCAL_APIC
unsigned int apic_timer_irqs; /* arch dependent */
unsigned int irq_spurious_count;
+ unsigned int icr_read_retry_count;
#endif
unsigned int x86_platform_ipis; /* arch dependent */
unsigned int apic_perf_irqs;