[RFC/PATCH 3/12] powerpc: Remove #ifdef ISERIES from readb/writeb etc. in io.h

David Gibson david at gibson.dropbear.id.au
Tue Jan 17 21:33:38 EST 2006


On Tue, Jan 17, 2006 at 11:14:56AM +0100, Christoph Hellwig wrote:
> On Tue, Jan 17, 2006 at 02:22:14PM +1100, Michael Ellerman wrote:
> > Convert readb/writeb etc. to be compilable on a combined kernel.
> 
> this will bloat the kernel quite horribly I suspect.  Either move them
> out of line or at least find a way to optimize away the dead code for
> normal builds.

It already will be, firmware_has_feature() will resolve at compile
time unless both CONFIG_MULTIPLATFORM and CONFIG_ISERIES are defined.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc64-dev mailing list