Module Name:    src
Committed By:   matt
Date:           Tue Mar  9 02:04:46 UTC 2010

Modified Files:
        src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c

Log Message:
Use dmtc0 too.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.23 -r1.1.2.24 src/sys/arch/evbmips/rmixl/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/rmixl/machdep.c
diff -u src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.23 src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.24
--- src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.23	Tue Mar  9 02:02:53 2010
+++ src/sys/arch/evbmips/rmixl/machdep.c	Tue Mar  9 02:04:46 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.1.2.23 2010/03/09 02:02:53 matt Exp $	*/
+/*	$NetBSD: machdep.c,v 1.1.2.24 2010/03/09 02:04:46 matt Exp $	*/
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.23 2010/03/09 02:02:53 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.24 2010/03/09 02:04:46 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_com.h"
@@ -448,7 +448,7 @@
 	/*
 	 * Fix up the exception vector to use COP0 OSSCRATCH0
 	 */
-	__asm __volatile("mtc0 %0,$%1"
+	__asm __volatile("dmtc0 %0,$%1"
 		:: "r"(&cpu_info_store), "n"(MIPS_COP_0_OSSCRATCH));
 	mips_fixup_exceptions(rmixl_fixup_cop0_oscratch);
 #endif

Reply via email to