diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/sgi/kernel/indy_sc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/sgi/kernel/indy_sc.c b/arch/mips/sgi/kernel/indy_sc.c index 9e78a2963..5683ffe66 100644 --- a/arch/mips/sgi/kernel/indy_sc.c +++ b/arch/mips/sgi/kernel/indy_sc.c @@ -1,4 +1,4 @@ -/* $Id: indy_sc.c,v 1.5 1998/08/25 09:14:49 ralf Exp $ +/* $Id: indy_sc.c,v 1.6 1999/01/04 16:03:56 ralf Exp $ * * indy_sc.c: Indy cache managment functions. * @@ -38,6 +38,7 @@ static inline void indy_sc_wipe(unsigned long first, unsigned long last) .set noreorder .set mips3 .set noat + mfc0 $2, $12 li $1, 0x80 # Go 64 bit mtc0 $1, $12 @@ -50,7 +51,7 @@ static inline void indy_sc_wipe(unsigned long first, unsigned long last) bne %0, %1, 1b daddu %0, 32 - mtc0 $0, $12 # Back to 32 bit + mtc0 $2, $12 # Back to 32 bit nop; nop; nop; nop; .set mips0 .set reorder" |