diff options
| author | David Daney <david.daney@cavium.com> | 2011-08-30 09:45:20 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2011-09-21 11:54:02 -0400 |
| commit | d968275921f9fa7fbc602ac6618ffec6a062ee3c (patch) | |
| tree | 3bb871afdf4adcc13d006cbe549b454afe242741 /arch/mips | |
| parent | 465aaed0030b23d905f3eca5e65481773bea9ea1 (diff) | |
MIPS: Don't clobber CP0_STATUS value for CONFIG_MIPS_MT_SMTC
Reported-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: David Daney <david.daney@cavium.com>
Patchwork: https://patchwork.linux-mips.org/patch/2753/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
| -rw-r--r-- | arch/mips/include/asm/stackframe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/stackframe.h b/arch/mips/include/asm/stackframe.h index b4ba2449444b..cb41af5f3406 100644 --- a/arch/mips/include/asm/stackframe.h +++ b/arch/mips/include/asm/stackframe.h | |||
| @@ -195,9 +195,9 @@ | |||
| 195 | * to cover the pipeline delay. | 195 | * to cover the pipeline delay. |
| 196 | */ | 196 | */ |
| 197 | .set mips32 | 197 | .set mips32 |
| 198 | mfc0 v1, CP0_TCSTATUS | 198 | mfc0 k0, CP0_TCSTATUS |
| 199 | .set mips0 | 199 | .set mips0 |
| 200 | LONG_S v1, PT_TCSTATUS(sp) | 200 | LONG_S k0, PT_TCSTATUS(sp) |
| 201 | #endif /* CONFIG_MIPS_MT_SMTC */ | 201 | #endif /* CONFIG_MIPS_MT_SMTC */ |
| 202 | LONG_S $4, PT_R4(sp) | 202 | LONG_S $4, PT_R4(sp) |
| 203 | LONG_S $5, PT_R5(sp) | 203 | LONG_S $5, PT_R5(sp) |
