[RFC/PATCH 2/12] powerpc: Remove #ifdef ISERIES from __raw_* accessors in io.h

David Gibson david at gibson.dropbear.id.au
Tue Jan 17 15:59:32 EST 2006


On Tue, Jan 17, 2006 at 02:22:09PM +1100, Michael Ellerman wrote:
> Convert the __raw_* accesors to be compilable on a combined kernel.

[snip]
> +static inline unsigned char __raw_readb(const volatile void __iomem *addr)
> +{
> +	if (firmware_has_feature(FW_FEATURE_ISERIES))
> +		BUG();	/* raw accessors aren't supported on iSeries
> */

BUG_ON() would seem reasonable here..

-- 
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