diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-01-11 17:03:54 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-02-08 15:48:32 +0000 |
commit | 4138323eac0b485316e54ad9ce241bac24ddd175 (patch) | |
tree | 1a9cd8c95fe1ad0c5e54abf34f1b2c264401bbc8 /block | |
parent | 2841029393fad551b49b6de34d44bfa9ef256441 (diff) |
ARM: use virt_to_idmap() for soft_restart()
Code run via soft_restart() is run with the MMU disabled, so we need to
pass the identity map physical address rather than the address obtained
from virt_to_phys(). Therefore, replace virt_to_phys() with
virt_to_idmap() for all callers of soft_restart().
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions