Module Name:    src
Committed By:   kiyohara
Date:           Sun Aug  7 15:16:35 UTC 2011

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

Log Message:
Not allow interrupt hear.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/bebox/bebox/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/bebox/bebox/machdep.c
diff -u src/sys/arch/bebox/bebox/machdep.c:1.102 src/sys/arch/bebox/bebox/machdep.c:1.103
--- src/sys/arch/bebox/bebox/machdep.c:1.102	Sun Aug  7 15:04:46 2011
+++ src/sys/arch/bebox/bebox/machdep.c	Sun Aug  7 15:16:35 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.102 2011/08/07 15:04:46 kiyohara Exp $	*/
+/*	$NetBSD: machdep.c,v 1.103 2011/08/07 15:16:35 kiyohara Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.102 2011/08/07 15:04:46 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.103 2011/08/07 15:16:35 kiyohara Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_ddb.h"
@@ -188,17 +188,6 @@
 	 * Now that we have VM, malloc's are OK in bus_space.
 	 */
 	bus_space_mallocok();
-
-	/*
-	 * Now allow hardware interrupts.
-	 */
-	{
-		int msr;
-
-		splraise(-1);
-		__asm volatile ("mfmsr %0; ori %0,%0,%1; mtmsr %0"
-		    : "=r"(msr) : "K"(PSL_EE));
-	}
 }
 
 /*

Reply via email to