ARM: 8295/1: fix v7M build for !CONFIG_PRINTK
authorRob Herring <r.herring@freescale.com>
Wed, 28 Jan 2015 15:05:04 +0000 (16:05 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
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 <robh@kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-v7m.S