Module Name:    src
Committed By:   nisimura
Date:           Fri Jul  3 10:35:32 UTC 2009

Modified Files:
        src/sys/arch/sandpoint/sandpoint: machdep.c

Log Message:
- replace splhigh() call with splraise(-1), requested by kiyohara.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/sandpoint/sandpoint/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/sandpoint/sandpoint/machdep.c
diff -u src/sys/arch/sandpoint/sandpoint/machdep.c:1.46 src/sys/arch/sandpoint/sandpoint/machdep.c:1.47
--- src/sys/arch/sandpoint/sandpoint/machdep.c:1.46	Fri Feb 13 22:41:03 2009
+++ src/sys/arch/sandpoint/sandpoint/machdep.c	Fri Jul  3 10:35:31 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.46 2009/02/13 22:41:03 apb Exp $	*/
+/*	$NetBSD: machdep.c,v 1.47 2009/07/03 10:35:31 nisimura Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.46 2009/02/13 22:41:03 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.47 2009/07/03 10:35:31 nisimura Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
@@ -261,7 +261,7 @@
 	/*
 	 * Now allow hardware interrupts.
 	 */
-	splhigh();
+	splraise(-1);
 	__asm volatile ("mfmsr %0; ori %0,%0,%1; mtmsr %0"
 	    :	"=r"(msr)
 	    :	"K"(PSL_EE));

Reply via email to