]> err.no Git - linux-2.6/commit
[ARM] 4489/1: pxa: split pxa_cpu_suspend to processor specific ones
authorEric Miao <eric.y.miao@gmail.com>
Wed, 18 Jul 2007 10:40:13 +0000 (11:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 20 Jul 2007 16:25:20 +0000 (17:25 +0100)
commitb750a09385d7c464113ae8915e63541a163fbac8
treecf7204368ff629ff00cecdabe8bc0e2ba3a82c85
parent711be5ccfe9a02ba560aa918a008c31ea4760163
[ARM] 4489/1: pxa: split pxa_cpu_suspend to processor specific ones

1. split pxa_cpu_suspend to pxa25x_cpu_suspend and pxa27x_cpu_suspend
   and make pxa25x_cpu_pm_enter() and pxa27x_cpu_pm_enter() to invoke
   the corresponding _suspend functions, thus remove all those ugly
   #ifdef .. #endif out of sleep.S

2. move the declarations of those suspend functions to pm.h

note: this is not a clean enough solution until all the pxa25x and
pxa27x specific part is further removed out of sleep.S, sleep.S is
supposed to contain generic code only

Signed-off-by: eric miao <eric.y.miao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/sleep.S
include/asm-arm/arch-pxa/pm.h