summaryrefslogtreecommitdiffstats
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
authorAlexey Dobriyan2008-09-06 20:04:36 +0200
committerIngo Molnar2008-09-06 20:04:36 +0200
commit978b0116cd225682a29e3d1d5010319bf2de32c2 (patch)
tree250cc9c7740e72407993f22358449b87d322cb32 /include/linux/interrupt.h
parentdrivers/mmc/card/block.c: fix refcount leak in mmc_block_open() (diff)
downloadkernel-qcow2-linux-978b0116cd225682a29e3d1d5010319bf2de32c2.tar.gz
kernel-qcow2-linux-978b0116cd225682a29e3d1d5010319bf2de32c2.tar.xz
kernel-qcow2-linux-978b0116cd225682a29e3d1d5010319bf2de32c2.zip
softirq: allocate less vectors
We don't need whole 32 of them, only NR_SOFTIRQS. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r--include/linux/interrupt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 58ff4e74b2f3..54b3623434ec 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -252,6 +252,8 @@ enum
HRTIMER_SOFTIRQ,
#endif
RCU_SOFTIRQ, /* Preferable RCU should always be the last softirq */
+
+ NR_SOFTIRQS
};
/* softirq mask and active fields moved to irq_cpustat_t in