diff options
Diffstat (limited to 'arch/mips/include/asm/stackframe.h')
-rw-r--r-- | arch/mips/include/asm/stackframe.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/include/asm/stackframe.h b/arch/mips/include/asm/stackframe.h index cb41af5f3406..c99384018161 100644 --- a/arch/mips/include/asm/stackframe.h +++ b/arch/mips/include/asm/stackframe.h | |||
@@ -218,17 +218,17 @@ | |||
218 | ori $28, sp, _THREAD_MASK | 218 | ori $28, sp, _THREAD_MASK |
219 | xori $28, _THREAD_MASK | 219 | xori $28, _THREAD_MASK |
220 | #ifdef CONFIG_CPU_CAVIUM_OCTEON | 220 | #ifdef CONFIG_CPU_CAVIUM_OCTEON |
221 | .set mips64 | 221 | .set mips64 |
222 | pref 0, 0($28) /* Prefetch the current pointer */ | 222 | pref 0, 0($28) /* Prefetch the current pointer */ |
223 | pref 0, PT_R31(sp) /* Prefetch the $31(ra) */ | 223 | pref 0, PT_R31(sp) /* Prefetch the $31(ra) */ |
224 | /* The Octeon multiplier state is affected by general multiply | 224 | /* The Octeon multiplier state is affected by general multiply |
225 | instructions. It must be saved before and kernel code might | 225 | instructions. It must be saved before and kernel code might |
226 | corrupt it */ | 226 | corrupt it */ |
227 | jal octeon_mult_save | 227 | jal octeon_mult_save |
228 | LONG_L v1, 0($28) /* Load the current pointer */ | 228 | LONG_L v1, 0($28) /* Load the current pointer */ |
229 | /* Restore $31(ra) that was changed by the jal */ | 229 | /* Restore $31(ra) that was changed by the jal */ |
230 | LONG_L ra, PT_R31(sp) | 230 | LONG_L ra, PT_R31(sp) |
231 | pref 0, 0(v1) /* Prefetch the current thread */ | 231 | pref 0, 0(v1) /* Prefetch the current thread */ |
232 | #endif | 232 | #endif |
233 | .set pop | 233 | .set pop |
234 | .endm | 234 | .endm |