diff options
author | Tony Luck <tony.luck@intel.com> | 2005-05-17 09:10:20 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-05-17 09:10:20 -0700 |
commit | d0dac8082cbc2b234917ec53eb591b1ddbec80bb (patch) | |
tree | 105651af2db033de4803b91cc029381a1b9b39d2 /include/asm-arm/page.h | |
parent | bfd68594082d8384781c242aa72a7950b5cf51aa (diff) | |
parent | ff96b3d4b840e8aa126e0a60fd743417ffdee178 (diff) |
Merge with linus
Diffstat (limited to 'include/asm-arm/page.h')
-rw-r--r-- | include/asm-arm/page.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/include/asm-arm/page.h b/include/asm-arm/page.h index 4ca3a8e9348..019c45d7573 100644 --- a/include/asm-arm/page.h +++ b/include/asm-arm/page.h @@ -114,19 +114,8 @@ extern void __cpu_copy_user_page(void *to, const void *from, unsigned long user); #endif -#define clear_user_page(addr,vaddr,pg) \ - do { \ - preempt_disable(); \ - __cpu_clear_user_page(addr, vaddr); \ - preempt_enable(); \ - } while (0) - -#define copy_user_page(to,from,vaddr,pg) \ - do { \ - preempt_disable(); \ - __cpu_copy_user_page(to, from, vaddr); \ - preempt_enable(); \ - } while (0) +#define clear_user_page(addr,vaddr,pg) __cpu_clear_user_page(addr, vaddr) +#define copy_user_page(to,from,vaddr,pg) __cpu_copy_user_page(to, from, vaddr) #define clear_page(page) memzero((void *)(page), PAGE_SIZE) extern void copy_page(void *to, const void *from); @@ -171,6 +160,9 @@ typedef unsigned long pgprot_t; #endif /* STRICT_MM_TYPECHECKS */ +/* the upper-most page table pointer */ +extern pmd_t *top_pmd; + /* Pure 2^n version of get_order */ static inline int get_order(unsigned long size) { |