diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-01-04 23:43:36 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 16:07:56 +0100 |
commit | 533462fba545d271e087c3c632cf62ff04808e40 (patch) | |
tree | 74c54d673e7dbba98755a5e59ae792cecda94424 /arch/arm/mach-pxa/standby.S | |
parent | [ARM] pxa: clean up pxa{27x,25x}_init_pm() to empty if CONFIG_PM not defined (diff) | |
download | linux-533462fba545d271e087c3c632cf62ff04808e40.tar.xz linux-533462fba545d271e087c3c632cf62ff04808e40.zip |
[ARM] pxa: omit PXA25x or PXA27x standby/sleep code as appropriate
There's no point building standby/sleep code for processors which
aren't configured.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/standby.S')
-rw-r--r-- | arch/arm/mach-pxa/standby.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/standby.S b/arch/arm/mach-pxa/standby.S index d774430d02c0..434a6ab0eca5 100644 --- a/arch/arm/mach-pxa/standby.S +++ b/arch/arm/mach-pxa/standby.S @@ -17,6 +17,7 @@ .text +#ifdef CONFIG_PXA27x ENTRY(pxa_cpu_standby) ldr r0, =PSSR mov r1, #(PSSR_PH | PSSR_STS) @@ -29,3 +30,5 @@ ENTRY(pxa_cpu_standby) 1: mcr p14, 0, r2, c7, c0, 0 @ put the system into Standby str r1, [r0] @ make sure PSSR_PH/STS are clear mov pc, lr + +#endif |