[PATCH 7/10] powerpc: Add a is_kernel_addr() macro

Paul Mackerras paulus at samba.org
Sat Oct 15 16:44:16 EST 2005


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?

Paul.



More information about the Linuxppc64-dev mailing list