The do_gettimeofday() helper was removed by commit e4b92b108c6c
("timekeeping: remove obsolete time accessors") in v5.0-rc1 and commit
c766d1472c70 ("y2038: hide timeval/timespec/itimerval/itimerspec types") in
v5.6-rc3 hides struct timeval from kernel code.
Rather than copying what newer 15.5.x versions do, clean up the whole mess
of simultaneous crosschecking between jiffies and wall time. Apparently
this was introduced once to work around the absence of a high resolution
monotonic timer. As kernel provides one at least since version 2.6.17 and
64-bit interface for it since 3.17 and VMware is unlikely to ever release
any update for Workstation/Player 14.1.x or 12.5.x anyway, let's just drop
all of it and use ktime_get_ns() instead.
This files in this directory and its subdirectories are the kernel module portion of the VMware Virtual Machine Monitor. In order to build, make certain the Makefile is correct, especially in whether or not your system is multi-processor and then just type make from this directory. A copy of the module will be left in driver-<kernel version>/vmmon.o (e.g. driver-up-2.0.32/vmmon.o). If you have any problems or questions, send mail to support@vmware.com