diff options
Diffstat (limited to 'arch/arm/plat-s3c24xx/sleep.S')
-rw-r--r-- | arch/arm/plat-s3c24xx/sleep.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/plat-s3c24xx/sleep.S b/arch/arm/plat-s3c24xx/sleep.S index 76594b212802..7c1955ff3171 100644 --- a/arch/arm/plat-s3c24xx/sleep.S +++ b/arch/arm/plat-s3c24xx/sleep.S | |||
@@ -84,7 +84,7 @@ resume_with_mmu: | |||
84 | .ltorg | 84 | .ltorg |
85 | 85 | ||
86 | @@ the next bits sit in the .data segment, even though they | 86 | @@ the next bits sit in the .data segment, even though they |
87 | @@ happen to be code... the s3c2410_sleep_save_phys needs to be | 87 | @@ happen to be code... the s3c_sleep_save_phys needs to be |
88 | @@ accessed by the resume code before it can restore the MMU. | 88 | @@ accessed by the resume code before it can restore the MMU. |
89 | @@ This means that the variable has to be close enough for the | 89 | @@ This means that the variable has to be close enough for the |
90 | @@ code to read it... since the .text segment needs to be RO, | 90 | @@ code to read it... since the .text segment needs to be RO, |
@@ -92,8 +92,8 @@ resume_with_mmu: | |||
92 | 92 | ||
93 | .data | 93 | .data |
94 | 94 | ||
95 | .global s3c2410_sleep_save_phys | 95 | .global s3c_sleep_save_phys |
96 | s3c2410_sleep_save_phys: | 96 | s3c_sleep_save_phys: |
97 | .word 0 | 97 | .word 0 |
98 | 98 | ||
99 | 99 | ||
@@ -145,7 +145,7 @@ ENTRY(s3c2410_cpu_resume) | |||
145 | mcr p15, 0, r1, c8, c7, 0 @@ invalidate I & D TLBs | 145 | mcr p15, 0, r1, c8, c7, 0 @@ invalidate I & D TLBs |
146 | mcr p15, 0, r1, c7, c7, 0 @@ invalidate I & D caches | 146 | mcr p15, 0, r1, c7, c7, 0 @@ invalidate I & D caches |
147 | 147 | ||
148 | ldr r0, s3c2410_sleep_save_phys @ address of restore block | 148 | ldr r0, s3c_sleep_save_phys @ address of restore block |
149 | ldmia r0, { r4 - r13 } | 149 | ldmia r0, { r4 - r13 } |
150 | 150 | ||
151 | mcr p15, 0, r4, c13, c0, 0 @ PID | 151 | mcr p15, 0, r4, c13, c0, 0 @ PID |