summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/entry.S
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2013-06-09 04:52:11 +0400
committerChris Zankel <chris@zankel.net>2013-07-08 01:18:56 -0700
commitc5a771d0678f9613e9f89cf1a5bdcfa5b08b225b (patch)
treec0d5ae3d94a0edb6edf9f1896ecb31666035d280 /arch/xtensa/kernel/entry.S
parent661b40b0362c16b9969bf018636fb60454f62ee5 (diff)
downloadop-kernel-dev-c5a771d0678f9613e9f89cf1a5bdcfa5b08b225b.zip
op-kernel-dev-c5a771d0678f9613e9f89cf1a5bdcfa5b08b225b.tar.gz
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/xtensa/kernel/entry.S')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud