On 07/12/2017 06:57 AM, Sérgio Basto wrote:
Hi,
Have we patches for kernel 4.13.0-rcx [1]?
Thanks,
[1]
https://bugzilla.rpmfusion.org/show_bug.cgi?id=4594
https://bugzilla.rpmfusion.org/attachment.cgi?id=1815
Sergio,
Thus far, the changes appear to be quite simple. The problem is that
wait_queue_t has been replaced by wait_queue_entry_t. The patch below works for me.
Larry
Index: src/vboxdrv/r0drv/linux/waitqueue-r0drv-linux.h
===================================================================
--- src.orig/vboxdrv/r0drv/linux/waitqueue-r0drv-linux.h
+++ src/vboxdrv/r0drv/linux/waitqueue-r0drv-linux.h
@@ -39,6 +39,9 @@
* schedule_hrtimeout_range. */
#define RTR0SEMLNXWAIT_RESOLUTION 50000
+#ifndef wait_queue_t /* eventually kernel version >= 4.13.0 */
+#define wait_queue_t wait_queue_entry_t
+#endif
/**
* Kernel mode Linux wait state structure.
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev