]> git.openfabrics.org - ~emulex/infiniband.git/commit
genirq: Make nr_irqs runtime expandable
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Feb 2011 16:12:57 +0000 (17:12 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 Feb 2011 11:58:06 +0000 (12:58 +0100)
commite7bcecb7b1d29b9ad5af939149a945658620ca8f
tree8f5ea66fd6e178574a31f2b1cfc5eeb2da28bef6
parent218502bfe674f570205367b9094048207b04ba15
genirq: Make nr_irqs runtime expandable

We face more and more the requirement to expand nr_irqs at
runtime. The reason are irq expanders which can not be detected in the
early boot stage. So we speculate nr_irqs to have enough room. Further
Xen needs extra irq numbers and we really want to avoid adding more
"detection" code into the early boot. There is no real good reason why
we need to limit nr_irqs at early boot.

Allow the allocation code to expand nr_irqs. We have already 8k extra
number space in the allocation bitmap, so lets use it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/irqdesc.c