ARM: 8295/1: fix v7M build for !CONFIG_PRINTK
authorRob Herring <[email protected]>
Wed, 28 Jan 2015 15:05:04 +0000 (16:05 +0100)
committerRussell King <[email protected]>
Thu, 29 Jan 2015 15:23:12 +0000 (15:23 +0000)
commited46092518aaed9e5266f8dd87ac12bf18cfc8e8
treea525d3539ba6c879dab4692cac57b9a5f9b04146
parentc2607f74aad96d18316a6e709b40e0ffe9def148
ARM: 8295/1: fix v7M build for !CONFIG_PRINTK

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 <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/kernel/entry-v7m.S