Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern No need to mask twice. The setup function does it.
details: https://anonhg.NetBSD.org/src/rev/e3495b967e7b
branches: trunk
changeset: 765072:e3495b967e7b
user: christos <christos%NetBSD.org@localhost>
date: Wed May 18 14:48:04 2011 +0000
description:
No need to mask twice. The setup function does it.
diffstat:
sys/kern/sys_select.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r 5af516885661 -r e3495b967e7b sys/kern/sys_select.c
--- a/sys/kern/sys_select.c Wed May 18 13:08:14 2011 +0000
+++ b/sys/kern/sys_select.c Wed May 18 14:48:04 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_select.c,v 1.31 2011/05/18 03:51:41 christos Exp $ */
+/* $NetBSD: sys_select.c,v 1.32 2011/05/18 14:48:04 christos Exp $ */
/*-
* Copyright (c) 2007, 2008, 2009, 2010 The NetBSD Foundation, Inc.
@@ -84,7 +84,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_select.c,v 1.31 2011/05/18 03:51:41 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_select.c,v 1.32 2011/05/18 14:48:04 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -229,10 +229,8 @@
return EINVAL;
}
- if (__predict_false(mask)) {
- sigminusset(&sigcantmask, mask);
+ if (__predict_false(mask))
sigsuspendsetup(l, mask);
- }
sc = curcpu()->ci_data.cpu_selcluster;
lock = sc->sc_lock;
Home |
Main Index |
Thread Index |
Old Index