[PATCH 7/10] powerpc: Add a is_kernel_addr() macro
Michael Ellerman
michael at ellerman.id.au
Sun Oct 16 21:34:19 EST 2005
On Sat, 15 Oct 2005 16:44, Paul Mackerras wrote:
> Michael Ellerman writes:
> > There's a bunch of code that compares an address with KERNELBASE to see
> > if it's a "kernel address", ie. >= KERNELBASE. Replace all of them with
> > an is_kernel_addr() macro that does the same thing. This will save us
> > some pain when we change KERNELBASE, and also makes the code more
> > readable IMHO.
>
> You don't seem to define an is_kernel_addr() for ppc. Did you try
> compiling any ppc32 configs?
No I didn't, I'll do that tomorrow and resend.
--
Michael Ellerman
IBM OzLabs
email: michael:ellerman.id.au
inmsg: mpe:jabber.org
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: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20051016/61761dd7/attachment.pgp
More information about the Linuxppc64-dev
mailing list