aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/irq_64.c
diff options
context:
space:
mode:
authorGravatar Brian Gerst <brgerst@gmail.com> 2009-01-19 00:38:57 +0900
committerGravatar Tejun Heo <tj@kernel.org> 2009-01-19 00:38:57 +0900
commit1b437c8c73a36daa471dd54a63c426d72af5723d (patch)
tree2b713669c050fe52610959a7d68b53a2da75181d /arch/x86/kernel/irq_64.c
parentlinker script: add missing .data.percpu.page_aligned (diff)
downloadlinux-1b437c8c73a36daa471dd54a63c426d72af5723d.tar.gz
linux-1b437c8c73a36daa471dd54a63c426d72af5723d.tar.bz2
linux-1b437c8c73a36daa471dd54a63c426d72af5723d.zip
x86-64: Move irq stats from PDA to per-cpu and consolidate with 32-bit.
Signed-off-by: Brian Gerst <brgerst@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86/kernel/irq_64.c')
-rw-r--r--arch/x86/kernel/irq_64.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/irq_64.c b/arch/x86/kernel/irq_64.c
index 0b21cb1ea11f..1db05247b47f 100644
--- a/arch/x86/kernel/irq_64.c
+++ b/arch/x86/kernel/irq_64.c
@@ -19,6 +19,9 @@
#include <asm/io_apic.h>
#include <asm/idle.h>
+DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
+EXPORT_PER_CPU_SYMBOL(irq_stat);
+
/*
* Probabilistic stack overflow check:
*