Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ObserverHerb/ca746d05b9c317fbd13f5b98c86c9e44 to your computer and use it in GitHub Desktop.
Save ObserverHerb/ca746d05b9c317fbd13f5b98c86c9e44 to your computer and use it in GitHub Desktop.
Fix wait_queue_t change that prevents VirtualBox modules from building against kernel 4.12.0 final
--- work/vboxdrv/r0drv/linux/waitqueue-r0drv-linux.h 2017-05-28 17:18:48.486626052 -0400
+++ work/vboxdrv/r0drv/linux/waitqueue-r0drv-linux.hb 2017-07-04 23:38:48.235213259 -0400
@@ -46,7 +46,7 @@
typedef struct RTR0SEMLNXWAIT
{
/** The wait queue entry. */
- wait_queue_t WaitQE;
+ wait_queue_entry_t WaitQE;
/** The absolute timeout given as nano seconds since the start of the
* monotonic clock. */
uint64_t uNsAbsTimeout;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment