[RFC PATCH v2] preliminary support for sparse IRQ

Will Deacon will.deacon at arm.com
Thu May 20 05:21:55 EDT 2010


Hi Eric,

> +#ifdef CONFIG_SPARSE_IRQ
> +int __init arch_probe_nr_irqs(void)
> +{
> +	nr_irqs = arch_nr_irqs ? arch_nr_irqs : NR_IRQS;
> +	return 0;
> +}
> +#endif

Possibly a daft question, but if CONFIG_SPARSE_IRQ is
not set, where does nr_irqs get assigned to?

Other than that, looks good to me.

Cheers,

Will





More information about the linux-arm-kernel mailing list