[PATCH 1/4] iSeries: Remove include/asm-ppc64/iSeries/HvCallSm.h

Christoph Hellwig hch at lst.de
Sun Sep 11 05:30:10 EST 2005


On Sun, Sep 11, 2005 at 01:37:34AM +1000, Stephen Rothwell wrote:
> +#define HvCallSmGet64BitsOfAccessMap	(HvCallSm  + 11)

Shouldn't there be a sinle header for all the HvCall constants?

> +
> +static inline u64 HvCallSm_get64BitsOfAccessMap(HvLpIndex lpIndex,
> +		u64 indexIntoBitMap)
> +{
> +	return HvCall2(HvCallSmGet64BitsOfAccessMap, lpIndex, indexIntoBitMap);
> +}


this is used only in a single place, no need for the wrapper at all.



More information about the Linuxppc64-dev mailing list