ARM: 8704/1: semihosting: use proper instruction on v7m processors
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 6 Oct 2017 18:39:57 +0000 (19:39 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 12 Oct 2017 10:28:29 +0000 (11:28 +0100)
commitee3eaee6a1dafb7ed7213ec2fad22552b4d58ed1
tree0f2d994489012bf0d0de415fa1895be32b808d39
parent6042b8c7c08cad7a8bdc0456c619ae941962b40a
ARM: 8704/1: semihosting: use proper instruction on v7m processors

The svc instruction doesn't exist on v7m processors. Semihosting ops are
invoked with the bkpt instruction instead.

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