summaryrefslogtreecommitdiff
path: root/arch/arm/mm
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2017-10-03 19:14:38 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2017-10-14 15:08:33 +0100
commit59b6359dd92d18f5dc04b14a4c926fa08ab66f7c (patch)
treea47e00038f9641bbd203958b48c7467133c82c83 /arch/arm/mm
parent1bb078330b4f0836b5b12365cd8bf68d5f3bbff8 (diff)
downloadlwn-59b6359dd92d18f5dc04b14a4c926fa08ab66f7c.tar.gz
lwn-59b6359dd92d18f5dc04b14a4c926fa08ab66f7c.zip
ARM: 8702/1: head-common.S: Clear lr before jumping to start_kernel()
If CONFIG_DEBUG_LOCK_ALLOC=y, the kernel log is spammed with a few hundred identical messages: unwind: Unknown symbol address c0800300 unwind: Index not found c0800300 c0800300 is the return address from the last subroutine call (to __memzero()) in __mmap_switched(). Apparently having this address in the link register confuses the unwinder. To fix this, reset the link register to zero before jumping to start_kernel(). Fixes: 9520b1a1b5f7a348 ("ARM: head-common.S: speed up startup code") Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mm')
0 files changed, 0 insertions, 0 deletions