diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-04-30 17:57:00 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-05-03 22:36:31 +0200 |
commit | cb48389bd6c6b827c2c0619063ce9f94fb8a370d (patch) | |
tree | ab122eb7610fd25803e547dfbd565ff8de486bd5 /arch/arm/mach-imx/headsmp.S | |
parent | 572b16db7040ca606a35081c95f0d6ac0a435913 (diff) | |
download | linux-stable-cb48389bd6c6b827c2c0619063ce9f94fb8a370d.tar.gz linux-stable-cb48389bd6c6b827c2c0619063ce9f94fb8a370d.tar.bz2 linux-stable-cb48389bd6c6b827c2c0619063ce9f94fb8a370d.zip |
ARM: imx: build CPU suspend code only when needed
The ARM CPU suspend function has its own configuration symbol,
which we need to use for conditionalizing any code calling into
it as well.
arch/arm/mach-imx/built-in.o: In function `v7_cpu_resume':
/git/arm-soc/arch/arm/mach-imx/headsmp.S:57: undefined
reference to `cpu_resume'
Cc: Sascha Hauer <kernel@pengutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-imx/headsmp.S')
-rw-r--r-- | arch/arm/mach-imx/headsmp.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/headsmp.S b/arch/arm/mach-imx/headsmp.S index 921fc1555854..524e52e59d6c 100644 --- a/arch/arm/mach-imx/headsmp.S +++ b/arch/arm/mach-imx/headsmp.S @@ -24,7 +24,7 @@ ENTRY(v7_secondary_startup) ENDPROC(v7_secondary_startup) #endif -#ifdef CONFIG_PM +#ifdef CONFIG_ARM_CPU_SUSPEND /* * The following code is located into the .data section. This is to * allow phys_l2x0_saved_regs to be accessed with a relative load |