diff options
author | Brian Gerst <brgerst@gmail.com> | 2009-01-18 16:38:57 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-01-18 16:38:57 +0100 |
commit | 1b437c8c73a36daa471dd54a63c426d72af5723d (patch) | |
tree | 2b713669c050fe52610959a7d68b53a2da75181d /arch/x86/kernel/irq.c | |
parent | linker script: add missing .data.percpu.page_aligned (diff) | |
download | linux-1b437c8c73a36daa471dd54a63c426d72af5723d.tar.xz 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.c')
-rw-r--r-- | arch/x86/kernel/irq.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c index 3973e2df7f87..8b30d0c2512c 100644 --- a/arch/x86/kernel/irq.c +++ b/arch/x86/kernel/irq.c @@ -36,11 +36,7 @@ void ack_bad_irq(unsigned int irq) #endif } -#ifdef CONFIG_X86_32 -# define irq_stats(x) (&per_cpu(irq_stat, x)) -#else -# define irq_stats(x) cpu_pda(x) -#endif +#define irq_stats(x) (&per_cpu(irq_stat, x)) /* * /proc/interrupts printing: */ |