]> err.no Git - linux-2.6/blobdiff - include/asm-ppc/page.h
Pull bugzilla-5737 into release branch
[linux-2.6] / include / asm-ppc / page.h
index a70ba2ee552d8f4f722aa87d19597155fb9ff4f9..0fb68a0b0181c311eae08877d29809980639a76e 100644 (file)
@@ -20,6 +20,7 @@
 /* This must match what is in arch/ppc/Makefile */
 #define PAGE_OFFSET    CONFIG_KERNEL_START
 #define KERNELBASE     PAGE_OFFSET
+#define is_kernel_addr(x)      ((x) >= PAGE_OFFSET)
 
 #ifndef __ASSEMBLY__