mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
irq: sparse irqs, export nr_irqs
fix: Building modules, stage 2. MODPOST 458 modules ERROR: "nr_irqs" [drivers/serial/8250.ko] undefined! Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
d60458b224
commit
fa42d10dd5
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ handle_bad_irq(unsigned int irq, struct irq_desc *desc)
|
|||
* Controller mappings for all interrupt sources:
|
||||
*/
|
||||
int nr_irqs = NR_IRQS;
|
||||
EXPORT_SYMBOL_GPL(nr_irqs);
|
||||
|
||||
#ifdef CONFIG_HAVE_DYN_ARRAY
|
||||
static struct irq_desc irq_desc_init __initdata = {
|
||||
|
|
Loading…
Reference in a new issue