[PATCH 1/6] powerpc/kconfig: Move NR_IRQS into "Kernel Options"

Michael Ellerman mpe at ellerman.id.au
Mon Oct 12 21:00:25 AEDT 2015


On Thu, 2015-10-08 at 23:30 +0200, Arnd Bergmann wrote:
> On Friday 09 October 2015 08:09:12 Michael Ellerman wrote:
> > Currently the NR_IRQS option sits at the top level, which is ugly in
> > menuconfig. It's not something users will commonly need to worry about
> > so move it into "Kernel Options".
> 
> Is this option actually still meaningful at all, when you select CONFIG_SPARSE_IRQ
> unconditionally?

It's still used for #define NR_IRQS, which is still used by the generic irq
code and also some drivers.

So we need some value for that, whether it needs to be user defined or if we
could just pick a value I'm not sure. x86 seem to just define it based on
NR_CPUs and some other factors.

cheers




More information about the Linuxppc-dev mailing list