softirq/core: Turn default irq_cpustat_t to standard per-cpu
[linux-2.6-block.git] / kernel / softirq.c
index 177de3640c782f7bcc8bd84b1254083e78b95bfe..c5fafd792df1583096b59317d7e9608510c471c1 100644 (file)
@@ -49,8 +49,8 @@
  */
 
 #ifndef __ARCH_IRQ_STAT
-irq_cpustat_t irq_stat[NR_CPUS] ____cacheline_aligned;
-EXPORT_SYMBOL(irq_stat);
+DEFINE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat);
+EXPORT_PER_CPU_SYMBOL(irq_stat);
 #endif
 
 static struct softirq_action softirq_vec[NR_SOFTIRQS] __cacheline_aligned_in_smp;