diff options
Diffstat (limited to 'include/asm-um/page.h')
-rw-r--r-- | include/asm-um/page.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-um/page.h b/include/asm-um/page.h index 916e1a61999f..a6df1f13d732 100644 --- a/include/asm-um/page.h +++ b/include/asm-um/page.h | |||
@@ -92,9 +92,6 @@ typedef struct page *pgtable_t; | |||
92 | #define __pgd(x) ((pgd_t) { (x) } ) | 92 | #define __pgd(x) ((pgd_t) { (x) } ) |
93 | #define __pgprot(x) ((pgprot_t) { (x) } ) | 93 | #define __pgprot(x) ((pgprot_t) { (x) } ) |
94 | 94 | ||
95 | /* to align the pointer to the (next) page boundary */ | ||
96 | #define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) | ||
97 | |||
98 | extern unsigned long uml_physmem; | 95 | extern unsigned long uml_physmem; |
99 | 96 | ||
100 | #define PAGE_OFFSET (uml_physmem) | 97 | #define PAGE_OFFSET (uml_physmem) |
@@ -118,9 +115,6 @@ extern unsigned long uml_physmem; | |||
118 | #define pfn_valid(pfn) ((pfn) < max_mapnr) | 115 | #define pfn_valid(pfn) ((pfn) < max_mapnr) |
119 | #define virt_addr_valid(v) pfn_valid(phys_to_pfn(__pa(v))) | 116 | #define virt_addr_valid(v) pfn_valid(phys_to_pfn(__pa(v))) |
120 | 117 | ||
121 | extern struct page *arch_validate(struct page *page, gfp_t mask, int order); | ||
122 | #define HAVE_ARCH_VALIDATE | ||
123 | |||
124 | #include <asm-generic/memory_model.h> | 118 | #include <asm-generic/memory_model.h> |
125 | #include <asm-generic/page.h> | 119 | #include <asm-generic/page.h> |
126 | 120 | ||