[ARM] Convert pmd_page() to be highmem safe
commit924a158a12c7e732179dd85ddd20848039e7bd71
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 26 Apr 2009 12:14:52 +0000 (26 13:14 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 26 Apr 2009 12:14:52 +0000 (26 13:14 +0100)
tree312cf5182eb23f598fb3b8abff0b1220303bd10f
parent0c8454f56623505a99463405fd7d5664adfbb094
[ARM] Convert pmd_page() to be highmem safe

In the long run, we may want to place page tables in highmem.  However,
pmd_page() has traditionally been coded to convert the physical address
to a virtual one, which won't work with highmem pages.  Instead,
translate the physical address to a PFN, and then convert the PFN to a
struct page instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/pgtable.h