ARM: pgtable: use mk_pte rather than pfn_pte(page_to_pfn())
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 2 Jul 2011 13:56:42 +0000 (14:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 26 Jan 2012 20:06:22 +0000 (20:06 +0000)
commit6e78df176141f2cb673bed7fa47825e3c6a8719f
tree451b621572f7ba63d1121e7d9c2ed1f1432f2ded
parentde27c308223dc9bd48de9742c7c2b53a15c1b012
ARM: pgtable: use mk_pte rather than pfn_pte(page_to_pfn())

mk_pte is provided to do this translation for us, so use it rather
than open-coding it in the copypage code.

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