Module Name:    src
Committed By:   jmcneill
Date:           Mon Sep  5 18:17:44 UTC 2011

Modified Files:
        src/sys/arch/usermode/usermode: intr.c

Log Message:
remove thunk_sigblock/thunk_sigunblock calls


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/usermode/usermode/intr.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/usermode/usermode/intr.c
diff -u src/sys/arch/usermode/usermode/intr.c:1.2 src/sys/arch/usermode/usermode/intr.c:1.3
--- src/sys/arch/usermode/usermode/intr.c:1.2	Mon Sep  5 11:12:51 2011
+++ src/sys/arch/usermode/usermode/intr.c	Mon Sep  5 18:17:44 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.2 2011/09/05 11:12:51 jmcneill Exp $ */
+/* $NetBSD: intr.c,v 1.3 2011/09/05 18:17:44 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2011 Jared D. McNeill <jmcne...@invisible.ca>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.2 2011/09/05 11:12:51 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.3 2011/09/05 18:17:44 jmcneill Exp $");
 
 #include <sys/types.h>
 
@@ -35,18 +35,12 @@
 #include <machine/thunk.h>
 
 static int usermode_x = IPL_NONE;
-static bool usermode_sigalrm_blocked = false;
 
 int
 splraise(int x)
 {
 	int oldx = usermode_x;
 
-	if (x > IPL_VM && usermode_sigalrm_blocked == false) {
-		thunk_sigblock(SIGALRM);
-		usermode_sigalrm_blocked = true;
-	}
-
 	if (x > usermode_x)
 		usermode_x = x;
 
@@ -56,11 +50,6 @@
 void
 spllower(int x)
 {
-	if (x <= IPL_VM && usermode_sigalrm_blocked == true) {
-		thunk_sigunblock(SIGALRM);
-		usermode_sigalrm_blocked = false;
-	}
-
 	if (usermode_x > x)
 		usermode_x = x;
 }

Reply via email to