diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2008-07-24 00:28:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:24 -0400 |
commit | 4a5675820436e4ad738dd442c1cc8a165101509b (patch) | |
tree | 95781177e1a055e74c9a163137030537134ef4d8 /include/asm-um/page.h | |
parent | 4c182ae7810f3fe444e666f3f78c209a7c116fdf (diff) |
arch/um/kernel/mem.c: remove arch_validate()
- Remove arch_validate(), because no one uses it.
- Remove useless macro HAVE_ARCH_VALIDATE.
- Make the variable 'empty_bad_page' static.
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-um/page.h')
-rw-r--r-- | include/asm-um/page.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-um/page.h b/include/asm-um/page.h index 335c57383c0..a6df1f13d73 100644 --- a/include/asm-um/page.h +++ b/include/asm-um/page.h | |||
@@ -115,9 +115,6 @@ extern unsigned long uml_physmem; | |||
115 | #define pfn_valid(pfn) ((pfn) < max_mapnr) | 115 | #define pfn_valid(pfn) ((pfn) < max_mapnr) |
116 | #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))) |
117 | 117 | ||
118 | extern struct page *arch_validate(struct page *page, gfp_t mask, int order); | ||
119 | #define HAVE_ARCH_VALIDATE | ||
120 | |||
121 | #include <asm-generic/memory_model.h> | 118 | #include <asm-generic/memory_model.h> |
122 | #include <asm-generic/page.h> | 119 | #include <asm-generic/page.h> |
123 | 120 | ||