ARM: 8400/1: use virt_to_idmap to get phys_reset address
authorVitaly Andrianov <vitalya@ti.com>
Mon, 6 Jul 2015 15:43:18 +0000 (16:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 17 Jul 2015 14:08:17 +0000 (15:08 +0100)
commitdf9de3c4295afa45d9c58c3d9039098af5765a21
tree4424aaac02795b13211a89216f9fcf930321ef34
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
ARM: 8400/1: use virt_to_idmap to get phys_reset address

This patch is to get correct physical address of the reset function for
PAE systems, which use aliased physical memory for booting.

See the "ARM: mm: Introduce virt_to_idmap() with an arch hook" for details.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/reboot.c