]> err.no Git - linux-2.6/blobdiff - include/asm-arm/page.h
Pull bugzilla-8709 into release branch
[linux-2.6] / include / asm-arm / page.h
index af9c3fe7588c4c1b3b0808ae59637fecac6a397c..7e85db77d99b12f635514a7c84e9b8c713064af4 100644 (file)
 #define _ASMARM_PAGE_H
 
 
+#ifdef __KERNEL__
+
 /* PAGE_SHIFT determines the page size */
 #define PAGE_SHIFT             12
 #define PAGE_SIZE              (1UL << PAGE_SHIFT)
 #define PAGE_MASK              (~(PAGE_SIZE-1))
 
-#ifdef __KERNEL__
-
 /* to align the pointer to the (next) page boundary */
 #define PAGE_ALIGN(addr)       (((addr)+PAGE_SIZE-1)&PAGE_MASK)