diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2013-06-08 20:52:11 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-07-08 04:18:56 -0400 |
commit | c5a771d0678f9613e9f89cf1a5bdcfa5b08b225b (patch) | |
tree | c0d5ae3d94a0edb6edf9f1896ecb31666035d280 /arch/sh/oprofile | |
parent | 661b40b0362c16b9969bf018636fb60454f62ee5 (diff) |
xtensa: adjust boot parameters address when INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX is selected
The virtual address of boot parameters chain is passed to the kernel via
a2 register. Adjust it in case it is remapped during MMUv3 -> MMUv2
mapping change, i.e. when it is in the first 128M.
Also fix interpretation of initrd and FDT addresses passed in the boot
parameters: these are physical addresses.
Cc: stable@vger.kernel.org
Reported-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/sh/oprofile')
0 files changed, 0 insertions, 0 deletions