ARM: mm: fix boot on SA1110 Assabet
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 9 Jul 2013 08:52:55 +0000 (09:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jul 2013 01:21:35 +0000 (18:21 -0700)
commit9131e72c764bd7ea9554392edab26a368a765c4d
tree39908d14a52c2f365ce7a1d5ab0964422d40b809
parent65e9f76985abdf9198deae2231648d7e5408caf0
ARM: mm: fix boot on SA1110 Assabet

commit 319e0b4f02f73983c03a2ca38595fc6367929edf upstream.

Commit 83db0384 (mm/ARM: use common help functions to free reserved
pages) broke booting on the Assabet by trying to convert a PFN to
a virtual address using the __va() macro.  This macro takes the
physical address, not a PFN.  Fix this.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mm/init.c