projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2607f7
)
ARM: 8295/1: fix v7M build for !CONFIG_PRINTK
author
Rob Herring
<r.herring@freescale.com>
Wed, 28 Jan 2015 15:05:04 +0000
(16:05 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 29 Jan 2015 15:23:12 +0000
(15:23 +0000)
Minimal builds for v7M are broken when printk is disabled. The caller is
assembly so add the necessary ifdef around the call.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-v7m.S
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/entry-v7m.S
b/arch/arm/kernel/entry-v7m.S
index
2260f18
..
8944f49
100644
(file)
--- a/
arch/arm/kernel/entry-v7m.S
+++ b/
arch/arm/kernel/entry-v7m.S
@@
-22,10
+22,12
@@
__invalid_entry:
v7m_exception_entry
+#ifdef CONFIG_PRINTK
adr r0, strerr
mrs r1, ipsr
mov r2, lr
bl printk
+#endif
mov r0, sp
bl show_regs
1: b 1b