summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irq_64.c
diff options
context:
space:
mode:
authorBrian Gerst <brgerst@gmail.com>2009-01-19 00:38:57 +0900
committerTejun Heo <tj@kernel.org>2009-01-19 00:38:57 +0900
commit1b437c8c73a36daa471dd54a63c426d72af5723d (patch)
tree2b713669c050fe52610959a7d68b53a2da75181d /arch/x86/kernel/irq_64.c
parent74e7904559a10cbb9fbf9139c5c42fc87c0f62a4 (diff)
downloadop-kernel-dev-1b437c8c73a36daa471dd54a63c426d72af5723d.zip
op-kernel-dev-1b437c8c73a36daa471dd54a63c426d72af5723d.tar.gz
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 0b21cb1..1db0524 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:
*
OpenPOWER on IntegriCloud