summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irq_64.c
diff options
context:
space:
mode:
authorBrian Gerst <brgerst@gmail.com>2009-01-21 09:26:06 +0100
committerTejun Heo <tj@kernel.org>2009-01-21 09:26:06 +0100
commitd650a5148593b65a3c3f9a344f46b91b7dfe7713 (patch)
tree82f95863cf34977065a78dd2521d78208fa83336 /arch/x86/kernel/irq_64.c
parentx86: merge mmu_context.h (diff)
downloadlinux-d650a5148593b65a3c3f9a344f46b91b7dfe7713.tar.xz
linux-d650a5148593b65a3c3f9a344f46b91b7dfe7713.zip
x86: merge irq_regs.h
Impact: cleanup, better irq_regs code generation for x86_64 Make 64-bit use the same optimizations as 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 1db05247b47f..0b254de84083 100644
--- a/arch/x86/kernel/irq_64.c
+++ b/arch/x86/kernel/irq_64.c
@@ -22,6 +22,9 @@
DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
EXPORT_PER_CPU_SYMBOL(irq_stat);
+DEFINE_PER_CPU(struct pt_regs *, irq_regs);
+EXPORT_PER_CPU_SYMBOL(irq_regs);
+
/*
* Probabilistic stack overflow check:
*