diff options
author | Magnus Damm <damm@opensource.se> | 2011-09-26 01:21:02 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-09-26 01:21:02 +0400 |
commit | a0089bd617adea27ebc352e1e0871649ab1dbaa6 (patch) | |
tree | 0719ce3601acf6bdd55267d02039f79c971739df /arch/arm/mach-shmobile/sleep-sh7372.S | |
parent | cf33835c5fc528cacd4f98bc38f246022dad340d (diff) | |
download | linux-a0089bd617adea27ebc352e1e0871649ab1dbaa6.tar.xz |
ARM: mach-shmobile: sh7372 sleep warning fixes
Update the sh7372 sleep code to build parts of the
code only when SUSPEND and/or CPU_IDLE are set.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm/mach-shmobile/sleep-sh7372.S')
-rw-r--r-- | arch/arm/mach-shmobile/sleep-sh7372.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/sleep-sh7372.S b/arch/arm/mach-shmobile/sleep-sh7372.S index d365842ded47..f3ab3c5810ea 100644 --- a/arch/arm/mach-shmobile/sleep-sh7372.S +++ b/arch/arm/mach-shmobile/sleep-sh7372.S @@ -34,6 +34,7 @@ #include <asm/memory.h> #include <asm/assembler.h> +#if defined(CONFIG_SUSPEND) || defined(CONFIG_CPU_IDLE) .align 12 .text .global sh7372_resume_core_standby_a3sm @@ -91,3 +92,4 @@ sh7372_do_idle_a3sm: kernel_flush: .word v7_flush_dcache_all +#endif |