X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-arm%2Fpage.h;h=7e85db77d99b12f635514a7c84e9b8c713064af4;hb=414f827c46973ba39320cfb43feb55a0eeb9b4e8;hp=b721270b9986c15d6dca566ec4d0dc65b6cb2e9d;hpb=ab5cfd2aa3af40b35d7a948de8e279dc82c5b9f6;p=powerpc.git diff --git a/include/asm-arm/page.h b/include/asm-arm/page.h index b721270b99..7e85db77d9 100644 --- a/include/asm-arm/page.h +++ b/include/asm-arm/page.h @@ -11,13 +11,13 @@ #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) @@ -174,9 +174,6 @@ typedef unsigned long pgprot_t; #endif /* STRICT_MM_TYPECHECKS */ -/* the upper-most page table pointer */ -extern pmd_t *top_pmd; - #endif /* CONFIG_MMU */ #include