diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2008-07-24 06:28:49 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 19:47:24 +0200 |
commit | 4a5675820436e4ad738dd442c1cc8a165101509b (patch) | |
tree | 95781177e1a055e74c9a163137030537134ef4d8 /include/asm-um/page.h | |
parent | arch/um/kernel/irq.c: clean up some functions (diff) | |
download | linux-4a5675820436e4ad738dd442c1cc8a165101509b.tar.xz linux-4a5675820436e4ad738dd442c1cc8a165101509b.zip |
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 '')
-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 335c57383c02..a6df1f13d732 100644 --- a/include/asm-um/page.h +++ b/include/asm-um/page.h @@ -115,9 +115,6 @@ extern unsigned long uml_physmem; #define pfn_valid(pfn) ((pfn) < max_mapnr) #define virt_addr_valid(v) pfn_valid(phys_to_pfn(__pa(v))) -extern struct page *arch_validate(struct page *page, gfp_t mask, int order); -#define HAVE_ARCH_VALIDATE - #include <asm-generic/memory_model.h> #include <asm-generic/page.h> |