summaryrefslogtreecommitdiffstats
path: root/include/asm-um
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2008-07-23 21:28:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 10:47:24 -0700
commit4a5675820436e4ad738dd442c1cc8a165101509b (patch)
tree95781177e1a055e74c9a163137030537134ef4d8 /include/asm-um
parent4c182ae7810f3fe444e666f3f78c209a7c116fdf (diff)
downloadlinux-stable-4a5675820436e4ad738dd442c1cc8a165101509b.tar.gz
linux-stable-4a5675820436e4ad738dd442c1cc8a165101509b.tar.bz2
linux-stable-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 'include/asm-um')
-rw-r--r--include/asm-um/page.h3
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>