aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlok Kataria <[email protected]>2008-11-03 19:31:28 +0000
committerH. Peter Anvin <[email protected]>2008-11-03 19:35:57 +0000
commit6bdbfe99916398dbb28d83833cc04757110f2738 (patch)
tree7783c666ff16ce70022946c070dd058ae2a74989 /net/unix/af_unix.c
parentx86: Skip verification by the watchdog for TSC clocksource. (diff)
downloadkernel-6bdbfe99916398dbb28d83833cc04757110f2738.tar.gz
kernel-6bdbfe99916398dbb28d83833cc04757110f2738.zip
x86: VMware: Fix vmware_get_tsc code
Impact: Fix possible failure to calibrate the TSC on Vmware near 4 GHz The current version of the code to get the tsc frequency from the VMware hypervisor, will be broken on processor with frequency (4G-1) HZ, because on such processors eax will have UINT_MAX and that would be legitimate. We instead check that EBX did change to decide if we were able to read the frequency from the hypervisor. Signed-off-by: Alok N Kataria <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions