[PATCH] 2.5.13: remove VALID_PAGE
authorRoman Zippel <zippel@linux-m68k.org>
Fri, 3 May 2002 07:03:30 +0000 (00:03 -0700)
committerRussell King <rmk@arm.linux.org.uk>
Fri, 3 May 2002 07:03:30 +0000 (00:03 -0700)
commit5528f050dc6302b7f3cf66b97c5426f25ecfc6cc
treeec3dedf4b740349f246460fcbb5e2698da1741ae
parent31efb48daafb03968411eb62e456df22796a8c9e
[PATCH] 2.5.13: remove VALID_PAGE

This patch removes VALID_PAGE(), as the test was always too late for
discontinous memory configuration. It is replaced with pfn_valid()/
virt_addr_valid(), which are used to test the original input value.
Other helper functions:
pte_pfn() - extract the page number from a pte
pfn_to_page()/page_to_pfn() - convert a page number to/from a page struct
24 files changed:
arch/arm/mach-arc/small_page.c
arch/arm/mm/fault-armv.c
arch/ia64/mm/init.c
arch/mips/mm/umap.c
arch/mips64/mm/umap.c
arch/sh/mm/fault.c
arch/sparc/mm/generic.c
arch/sparc/mm/sun4c.c
arch/sparc64/kernel/traps.c
arch/sparc64/mm/generic.c
arch/sparc64/mm/init.c
fs/proc/array.c
include/asm-cris/processor.h
include/asm-i386/page.h
include/asm-i386/pgtable-2level.h
include/asm-i386/pgtable-3level.h
include/asm-m68k/processor.h
include/asm-sh/pgalloc.h
mm/memory.c
mm/msync.c
mm/page_alloc.c
mm/slab.c
mm/vmalloc.c
mm/vmscan.c