ARM: pm: hide 1st and 2nd arguments to cpu_suspend from platform code
The first and second arguments shouldn't concern platform code, so hide them from each platforms caller. Tested-by: Kevin Hilman <khilman@ti.com> Acked-by: Jean Pihet <j-pihet@ti.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* r3 = suspend function
|
||||
* Note: does not return until system resumes
|
||||
*/
|
||||
ENTRY(cpu_suspend)
|
||||
ENTRY(__cpu_suspend)
|
||||
stmfd sp!, {r4 - r11, lr}
|
||||
#ifdef MULTI_CPU
|
||||
ldr r10, =processor
|
||||
@@ -56,7 +56,7 @@ ENTRY(cpu_suspend)
|
||||
bl __cpuc_flush_kern_all
|
||||
#endif
|
||||
ldmfd sp!, {r0, pc} @ call suspend fn
|
||||
ENDPROC(cpu_suspend)
|
||||
ENDPROC(__cpu_suspend)
|
||||
.ltorg
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user