mirror of
https://aur.archlinux.org/vmware-workstation.git
synced 2025-10-02 04:41:58 +08:00
26 lines
646 B
Diff
26 lines
646 B
Diff
--- a/vmmon/Makefile
|
|
+++ b/vmmon/Makefile
|
|
@@ -43,7 +43,11 @@
|
|
endif
|
|
|
|
|
|
+ifdef KVERSION
|
|
+VM_UNAME = $(KVERSION)
|
|
+else
|
|
VM_UNAME = $(shell uname -r)
|
|
+endif
|
|
|
|
# Header directory for the running kernel
|
|
ifdef LINUXINCLUDE
|
|
Fix from https://communities.vmware.com/t5/VMware-Workstation-Pro/Workstation-17-5-0-vmware-clk-spinning-on-CPU-when-Linux-VMs-are/m-p/2996282
|
|
--- a/vmmon-only/linux/hostif.c
|
|
+++ b/vmmon-only/linux/hostif.c
|
|
@@ -3351,7 +3351,7 @@
|
|
* threads running in the monitor on all physical CPUs.
|
|
*/
|
|
|
|
- if (rate > MIN_RATE) {
|
|
+ if (false) {
|
|
if (!linuxState.fastClockThread) {
|
|
struct task_struct *rtcTask;
|
|
|