Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Re-enable direct select.



details:   https://anonhg.NetBSD.org/src/rev/473ff5a512f2
branches:  trunk
changeset: 758037:473ff5a512f2
user:      rmind <rmind%NetBSD.org@localhost>
date:      Fri Oct 15 05:39:19 2010 +0000

description:
Re-enable direct select.

diffstat:

 sys/kern/sys_select.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4d7bbdd65f1d -r 473ff5a512f2 sys/kern/sys_select.c
--- a/sys/kern/sys_select.c     Fri Oct 15 05:26:09 2010 +0000
+++ b/sys/kern/sys_select.c     Fri Oct 15 05:39:19 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_select.c,v 1.27 2010/07/12 11:04:25 rmind Exp $    */
+/*     $NetBSD: sys_select.c,v 1.28 2010/10/15 05:39:19 rmind 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.27 2010/07/12 11:04:25 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_select.c,v 1.28 2010/10/15 05:39:19 rmind Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -689,7 +689,7 @@
                         */
                        l = sip->sel_lwp;
                        oflag = l->l_selflag;
-#ifdef DIRECT_SELECT
+#ifndef NO_DIRECT_SELECT
                        sel_setevents(l, sip, events);
 #else
                        l->l_selflag = SEL_RESET;



Home | Main Index | Thread Index | Old Index