Module Name: src Committed By: rmind Date: Fri Oct 15 05:39:19 UTC 2010
Modified Files: src/sys/kern: sys_select.c Log Message: Re-enable direct select. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/kern/sys_select.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/kern/sys_select.c diff -u src/sys/kern/sys_select.c:1.27 src/sys/kern/sys_select.c:1.28 --- src/sys/kern/sys_select.c:1.27 Mon Jul 12 11:04:25 2010 +++ src/sys/kern/sys_select.c Fri Oct 15 05:39:19 2010 @@ -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;