]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/softirq.c
softirq: allocate less vectors
[net-next-2.6.git] / kernel / softirq.c
index c506f266a6b90ee9d887b9eeecdd45061e74ef1f..82e32aadedd84fc3b29dec79257af09608aa8194 100644 (file)
@@ -46,7 +46,7 @@ irq_cpustat_t irq_stat[NR_CPUS] ____cacheline_aligned;
 EXPORT_SYMBOL(irq_stat);
 #endif
 
-static struct softirq_action softirq_vec[32] __cacheline_aligned_in_smp;
+static struct softirq_action softirq_vec[NR_SOFTIRQS] __cacheline_aligned_in_smp;
 
 static DEFINE_PER_CPU(struct task_struct *, ksoftirqd);