[RFC/PATCH 8/9] Make 64-bit cpu features defined on 32-bit
Michael Ellerman
michael at ellerman.id.au
Fri Nov 17 10:03:45 EST 2006
On Thu, 2006-11-16 at 21:17 +1100, Stephen Rothwell wrote:
> On Thu, 16 Nov 2006 18:23:27 +1100 Michael Ellerman <michael at ellerman.id.au> wrote:
> >
> > It saves #ifdef'ing in callers if we at least define the 64-bit cpu
> > features for 32-bit also.
>
> Does it matter that some of the 64 bit feature bit defines are 0 on 32
> bit?
Not for me, I just want to be able to call cpu_has_feature() on it. If
the feature is 0 it'll always return false.
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20061117/0e9b699c/attachment.pgp>
More information about the Linuxppc-dev
mailing list