X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-ppc%2Fpage.h;h=fe95c8258cf9f3e40397b97149fd651e61fa8c13;hb=2d3fcc1c54df2f49674e1f7c99d4800ed1d51902;hp=352faa4b0d4bcaa86b884b032cc9f0ab9040ad79;hpb=62c4f0a2d5a188f73a94f2cb8ea0dba3e7cf0a7f;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-ppc/page.h b/include/asm-ppc/page.h index 352faa4b0d4..fe95c8258cf 100644 --- a/include/asm-ppc/page.h +++ b/include/asm-ppc/page.h @@ -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__ @@ -169,7 +170,7 @@ extern __inline__ int get_order(unsigned long size) #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) -/* We do define AT_SYSINFO_EHDR but don't use the gate mecanism */ +/* We do define AT_SYSINFO_EHDR but don't use the gate mechanism */ #define __HAVE_ARCH_GATE_AREA 1 #include