[PATCH 4/11] powerpc: Replace platform_is_lpar() with a firmware feature
Stephen Rothwell
sfr at canb.auug.org.au
Wed Mar 22 11:35:08 EST 2006
On Tue, 21 Mar 2006 20:45:59 +1100 Michael Ellerman <michael at ellerman.id.au> wrote:
>
> It has been decreed that platform numbers are evil, so as a step in that
> direction, replace platform_is_lpar() with a FW_FEATURE_LPAR bit.
>
> Currently FW_FEATURE_LPAR really means i/pSeries LPAR, in the future we might
> have to clean that up if we need to be more specific about what LPAR actually
> means. But that's another patch ...
>
> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
Just wondering if you considered just #defining platform_is_lpar() to be
firmware_has_feature(FW_FEATURE_LPAR) ...
Otherwise looks good.
Acked-by: Stephen Rothwell <sfr at canb.auug.org.au>
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060322/ea396e07/attachment.pgp>
More information about the Linuxppc-dev
mailing list