]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Fix the soft_restart routine
authorGeoff Levand <geoff@infradead.org>
Tue, 17 Dec 2013 00:19:29 +0000 (00:19 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 26 Feb 2014 11:16:28 +0000 (11:16 +0000)
commite0f25a42cbdf5b1329b002efd3e9ce9c5d3ec907
tree8df39e6468b4c3c0140afc87f0a937850bec592d
parent6734695c3405656b272ca6a862f85b987fffb1a8
arm64: Fix the soft_restart routine

Change the soft_restart() routine to call cpu_reset() at its identity mapped
physical address.

The cpu_reset() routine must be called at its identity mapped physical address
so that when the MMU is turned off the instruction pointer will be at the correct
location in physical memory.

Signed-off-by: Geoff Levand <geoff@infradead.org> for Huawei, Linaro
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/process.c