diff options
Diffstat (limited to 'emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-semeventmulti-r0drv-freebsd.c')
-rw-r--r-- | emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-semeventmulti-r0drv-freebsd.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-semeventmulti-r0drv-freebsd.c b/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-semeventmulti-r0drv-freebsd.c deleted file mode 100644 index f5db6a393cf7..000000000000 --- a/emulators/virtualbox-ose-kmod-legacy/files/patch-src-VBox-Runtime-r0drv-freebsd-semeventmulti-r0drv-freebsd.c +++ /dev/null @@ -1,41 +0,0 @@ -Index: src/VBox/Runtime/r0drv/freebsd/semeventmulti-r0drv-freebsd.c -@@ -215,15 +215,23 @@ static int rtSemEventMultiWait(RTSEMEVEN - - RTSpinlockRelease(pEventMultiInt->hSpinLock, &Tmp); - -+#if __FreeBSD_version >=800026 - if (fInterruptible) - rc = sleepq_timedwait_sig(pEventMultiInt, 0); - else - rc = sleepq_timedwait(pEventMultiInt, 0); -+#else -+ if (fInterruptible) -+ rc = sleepq_timedwait_sig(pEventMultiInt); -+ else -+ rc = sleepq_timedwait(pEventMultiInt); -+#endif - } - else - { - RTSpinlockRelease(pEventMultiInt->hSpinLock, &Tmp); - -+#if __FreeBSD_version >=800026 - if (fInterruptible) - rc = sleepq_wait_sig(pEventMultiInt, 0); - else -@@ -231,6 +239,15 @@ static int rtSemEventMultiWait(RTSEMEVEN - rc = 0; - sleepq_wait(pEventMultiInt, 0); - } -+#else -+ if (fInterruptible) -+ rc = sleepq_wait_sig(pEventMultiInt); -+ else -+ { -+ rc = 0; -+ sleepq_wait(pEventMultiInt); -+ } -+#endif - } - - RTSpinlockAcquire(pEventMultiInt->hSpinLock, &Tmp); |