diff options
author | Markus Kitsinger (SwooshyCueb) | 2015-10-11 00:19:33 -0500 |
---|---|---|
committer | Markus Kitsinger (SwooshyCueb) | 2015-10-11 00:19:33 -0500 |
commit | 68f57f7e4aa4e182dbef33e739c11f1b6bd5a8ba (patch) | |
tree | 9c14b3ae5d1d17c370082dac81d6e94c9ce01290 /vmmon.patch | |
parent | 4cf44b13d5de7c62d727f6e1d914080df58ea1e3 (diff) | |
download | aur-68f57f7e4aa4e182dbef33e739c11f1b6bd5a8ba.tar.gz |
Update to 308.0 (version from Workstation 12)
Diffstat (limited to 'vmmon.patch')
-rw-r--r-- | vmmon.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/vmmon.patch b/vmmon.patch new file mode 100644 index 000000000000..b421640e10c3 --- /dev/null +++ b/vmmon.patch @@ -0,0 +1,43 @@ + vmmon/linux/{ => }/driver.c | 2 +- + vmmon/linux/{ => }/hostif.c | 1 + + vmmon/linux/{ => }/vmmonInt.h | 2 +- + 3 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/vmmon/linux/driver.c b/vmmon/linux/driver.c +index 31de1dc..ed459fd 100644 +--- a/vmmon/linux/driver.c ++++ b/vmmon/linux/driver.c +@@ -1281,7 +1281,7 @@ LinuxDriverReadTSC(void *data, // OUT: TSC values + *----------------------------------------------------------------------------- + */ + +-__attribute__((always_inline)) static Bool ++inline static Bool + LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min + { + TSCDelta tscDelta; +diff --git a/vmmon/linux/hostif.c b/vmmon/linux/hostif.c +index d1bc8ba..918e8ce 100644 +--- a/vmmon/linux/hostif.c ++++ b/vmmon/linux/hostif.c +@@ -74,6 +74,7 @@ + #include <linux/kthread.h> + #include <linux/wait.h> + ++#include <asm/apic.h> + + #include "vmware.h" + #include "x86apic.h" +diff --git a/vmmon/linux/vmmonInt.h b/vmmon/linux/vmmonInt.h +index 4dc04e9..993212d 100644 +--- a/vmmon/linux/vmmonInt.h ++++ b/vmmon/linux/vmmonInt.h +@@ -28,7 +28,7 @@ + * Hide all kernel compatibility stuff in these macros and functions. + */ + +-#ifdef VMW_HAVE_SMP_CALL_3ARG ++#if defined (VMW_HAVE_SMP_CALL_3ARG) || LINUX_VERSION_CODE >= KERNEL_VERSION(3, 0, 0) + #define compat_smp_call_function(fn, info, wait) smp_call_function(fn, info, wait) + #else + #define compat_smp_call_function(fn, info, wait) smp_call_function(fn, info, 1, wait) |