mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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 <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
711be5ccfe
commit
b750a09385
4 changed files with 80 additions and 46 deletions
|
|
@ -17,4 +17,9 @@ struct pxa_cpu_pm_fns {
|
|||
|
||||
extern struct pxa_cpu_pm_fns *pxa_cpu_pm_fns;
|
||||
|
||||
/* sleep.S */
|
||||
extern void pxa25x_cpu_suspend(unsigned int);
|
||||
extern void pxa27x_cpu_suspend(unsigned int);
|
||||
extern void pxa_cpu_resume(void);
|
||||
|
||||
extern int pxa_pm_enter(suspend_state_t state);
|
||||
|
|
|
|||
Loading…
Reference in a new issue