[PATCH 5/5] of/irq: merge of_irq_map_one()

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Jun 11 11:17:52 EST 2010


On Thu, 2010-06-10 at 17:36 -0600, Grant Likely wrote:
> 
> Okay.  I had been trying to avoid #ifdefs in the common code, but
> you're probably right.  I'll rework. 

Not even ifdef's ... just move the quirk map there. You can always
#define the quirk variable to 0 on archs that have no quirks, to
make it compile away if you believe it represents bloat, but they
are simple well localized things so I doubt it matters.

Cheers,
Ben.




More information about the Linuxppc-dev mailing list