]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ARM: 8703/1: debug.S: move hexbuf to a writable section
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 6 Oct 2017 18:36:58 +0000 (19:36 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 12 Oct 2017 10:26:21 +0000 (11:26 +0100)
commite11d1314d83ec7f562fa01df29878d0b1138cf00
tree5e31a1b9ccdc1bacdbbe06b097e5963ab1429c4c
parentc772568788b5f0cbaac7c8d4111d7173bfc90673
ARM: 8703/1: debug.S: move hexbuf to a writable section

This was located in .text which is meant to be read-only. And in the XIP
case this shortcut simply doesn't work and may trigger a Flash controller
mode switch and crash the kernel. Move it to the .bss area.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/debug.S