]> err.no Git - linux-2.6/blobdiff - include/asm-ppc/page.h
[PATCH] poison: add & use more constants
[linux-2.6] / include / asm-ppc / page.h
index 352faa4b0d4bcaa86b884b032cc9f0ab9040ad79..0b19af82507ff25b8793694c79fef18632185cab 100644 (file)
@@ -18,6 +18,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__