ARM: pgtable: provide get_top_pte() to complement set_top_pte()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Jul 2011 10:22:27 +0000 (11:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 26 Jan 2012 20:07:41 +0000 (20:07 +0000)
commit0d31fe47b0f62e6546779eae2fc9b2e024aff4ce
tree6e1a619868e7e8bde6180d73c75ea7ab6f131e9b
parent67ece1443174d852e71c42facb3e2d7dd338c88a
ARM: pgtable: provide get_top_pte() to complement set_top_pte()

Provide get_top_pte() to complement set_top_pte(), moving the only
users of TOP_PTE to arch/arm/mm/mm.h.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/highmem.c
arch/arm/mm/mm.h