aboutsummaryrefslogtreecommitdiff
path: root/audio/oss/files/patch-kernel-OS-FreeBSD-os_freebsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/oss/files/patch-kernel-OS-FreeBSD-os_freebsd.c')
-rw-r--r--audio/oss/files/patch-kernel-OS-FreeBSD-os_freebsd.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/audio/oss/files/patch-kernel-OS-FreeBSD-os_freebsd.c b/audio/oss/files/patch-kernel-OS-FreeBSD-os_freebsd.c
index 72a2c7d98168..50177823fc3f 100644
--- a/audio/oss/files/patch-kernel-OS-FreeBSD-os_freebsd.c
+++ b/audio/oss/files/patch-kernel-OS-FreeBSD-os_freebsd.c
@@ -1,6 +1,6 @@
---- kernel/OS/FreeBSD/os_freebsd.c.orig 2007-11-12 15:40:51.000000000 -0500
-+++ kernel/OS/FreeBSD/os_freebsd.c 2007-11-12 15:42:12.000000000 -0500
-@@ -28,6 +28,7 @@
+--- kernel/OS/FreeBSD/os_freebsd.c.orig 2008-01-04 17:47:28.000000000 -0500
++++ kernel/OS/FreeBSD/os_freebsd.c 2008-01-04 17:47:30.000000000 -0500
+@@ -21,6 +21,7 @@
#include <sys/proc.h>
#include <sys/sx.h>
#include <sys/mman.h>
@@ -8,12 +8,3 @@
#include <fs/devfs/devfs.h>
#include <sys/poll.h>
-@@ -153,7 +154,7 @@
- return 0;
-
- wq->flags = 0;
-- flag = msleep (wq, *mutex, PRIBIO | PCATCH, "oss", ticks);
-+ flag = msleep_spin (wq, *mutex, "oss", ticks);
-
- if (flag == EWOULDBLOCK) /* Timeout */
- {