[Questions]: how to extend nr_irqs for arch arm64

From: Zhou Qiao(周侨)
Date: Sun Jan 10 2016 - 22:31:42 EST


Hi Thomas, Jason

I've a question about nr_irqs(with CONFIG_SPARSE_IRQ enabled) on arch arm64, and want to ask for your suggestions.

The nr_irqs is set to NR_IRQS by default and NR_IRQS is small(64). Arch/arm platforms will re-set nr_irqs to a larger value. I didn't find similar way for arm64. The way I can think of is to redefine NR_IRQS. But according comments in include/asm-generic/irq.h, NR_IRQS should not be a large value. so what's the preferred way to extend nr_irqs, for arm64 specifically? Thanks in advance.

Best Regards
Qiao