Module Name: src
Committed By: snj
Date: Sun Nov 15 05:46:23 UTC 2009
Modified Files:
src/sys/dev [netbsd-5]: rnd.c
Log Message:
Pull up following revision(s) (requested by rmind in ticket #1135):
sys/dev/rnd.c: revision 1.77
rnd_sample_allocate_isr: pass correct flag to pool_get().
Should fix PR/39325.
To generate a diff of this commit:
cvs rdiff -u -r1.71.4.1 -r1.71.4.2 src/sys/dev/rnd.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/dev/rnd.c
diff -u src/sys/dev/rnd.c:1.71.4.1 src/sys/dev/rnd.c:1.71.4.2
--- src/sys/dev/rnd.c:1.71.4.1 Wed Sep 16 04:01:55 2009
+++ src/sys/dev/rnd.c Sun Nov 15 05:46:23 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: rnd.c,v 1.71.4.1 2009/09/16 04:01:55 snj Exp $ */
+/* $NetBSD: rnd.c,v 1.71.4.2 2009/11/15 05:46:23 snj Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rnd.c,v 1.71.4.1 2009/09/16 04:01:55 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rnd.c,v 1.71.4.2 2009/11/15 05:46:23 snj Exp $");
#include <sys/param.h>
#include <sys/ioctl.h>
@@ -775,7 +775,7 @@
{
rnd_sample_t *c;
- c = pool_get(&rnd_mempool, 0);
+ c = pool_get(&rnd_mempool, PR_NOWAIT);
if (c == NULL)
return (NULL);