Re: [PATCH 08/42] introduce nr_irqs

From: Eric W. Biederman
Date: Fri Aug 08 2008 - 21:03:39 EST


Yinghai Lu <yhlu.kernel@xxxxxxxxx> writes:

> and at this point it is equal NR_IRQS

This patch is ok, but this approach is fundamentally broken.
Only 19 architectures use GENERIC_HARDIRQS

The only required interface is interrupt.h not irq.h

So you may not replace NR_IRQS with nr_irqs in anything other
then genirq code and some architecture code.

Doing so will break the build on several architectures.

Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/