• Roman Zippel's avatar
    [PATCH] 2.5.13: remove VALID_PAGE · 5528f050
    Roman Zippel authored
    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
    5528f050
page_alloc.c 22.6 KB