From: Michael Ellerman Date: Sun, 4 Dec 2005 07:39:15 +0000 (+1100) Subject: [PATCH] powerpc: Add a is_kernel_addr() macro X-Git-Tag: v2.6.16-rc1~666^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51fae6de24da57bc6cdaa1b253595c3513ecbf2d;p=pandora-kernel.git [PATCH] powerpc: Add a is_kernel_addr() macro There's a bunch of code that compares an address with KERNELBASE to see if it's a "kernel address", ie. >= KERNELBASE. The proper test is actually to compare with PAGE_OFFSET, since we're going to change KERNELBASE soon. So replace all of them with an is_kernel_addr() macro that does that. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed