diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-06-22 12:41:48 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-06-24 04:54:39 -0400 |
commit | 2c74a0cefa463a7a483b07ba4d2ea8e4ec7b996c (patch) | |
tree | 51fc396c9315b42448da071b40d2199fa1ff769f /arch/arm/kernel/sleep.S | |
parent | 14c79bbed7e06135bcbccb2b92c19df7115b4502 (diff) |
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>
Diffstat (limited to 'arch/arm/kernel/sleep.S')
-rw-r--r-- | arch/arm/kernel/sleep.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/sleep.S b/arch/arm/kernel/sleep.S index 53922748d101..c156d0e5f455 100644 --- a/arch/arm/kernel/sleep.S +++ b/arch/arm/kernel/sleep.S | |||
@@ -14,7 +14,7 @@ | |||
14 | * r3 = suspend function | 14 | * r3 = suspend function |
15 | * Note: does not return until system resumes | 15 | * Note: does not return until system resumes |
16 | */ | 16 | */ |
17 | ENTRY(cpu_suspend) | 17 | ENTRY(__cpu_suspend) |
18 | stmfd sp!, {r4 - r11, lr} | 18 | stmfd sp!, {r4 - r11, lr} |
19 | #ifdef MULTI_CPU | 19 | #ifdef MULTI_CPU |
20 | ldr r10, =processor | 20 | ldr r10, =processor |
@@ -56,7 +56,7 @@ ENTRY(cpu_suspend) | |||
56 | bl __cpuc_flush_kern_all | 56 | bl __cpuc_flush_kern_all |
57 | #endif | 57 | #endif |
58 | ldmfd sp!, {r0, pc} @ call suspend fn | 58 | ldmfd sp!, {r0, pc} @ call suspend fn |
59 | ENDPROC(cpu_suspend) | 59 | ENDPROC(__cpu_suspend) |
60 | .ltorg | 60 | .ltorg |
61 | 61 | ||
62 | /* | 62 | /* |