diff options
author | Chris Dearman <chris@mips.com> | 2006-08-07 10:08:01 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-09-27 08:37:33 -0400 |
commit | 847b9dfccad7dd34b2e44b1c6ceeb1c4cb88084a (patch) | |
tree | 46374a118b2f42c17aef00ec478021043e56e38b /arch/mips | |
parent | bca70d24c09b740d6fd96b972011644cba8383d6 (diff) |
[MIPS] MT: Initialise all writable bits in Cause register to zero.
Recent 34Ks come out of reset with WP enabled on VPE 1 so we take an
immediate exception when starting the second VPE.
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/smp-mt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/smp-mt.c b/arch/mips/kernel/smp-mt.c index 93429a4d3012..766253c44f3f 100644 --- a/arch/mips/kernel/smp-mt.c +++ b/arch/mips/kernel/smp-mt.c | |||
@@ -203,7 +203,7 @@ void plat_smp_setup(void) | |||
203 | write_vpe_c0_config( read_c0_config()); | 203 | write_vpe_c0_config( read_c0_config()); |
204 | 204 | ||
205 | /* make sure there are no software interrupts pending */ | 205 | /* make sure there are no software interrupts pending */ |
206 | write_vpe_c0_cause(read_vpe_c0_cause() & ~(C_SW1|C_SW0)); | 206 | write_vpe_c0_cause(0); |
207 | 207 | ||
208 | /* Propagate Config7 */ | 208 | /* Propagate Config7 */ |
209 | write_vpe_c0_config7(read_c0_config7()); | 209 | write_vpe_c0_config7(read_c0_config7()); |