Frank van der Linden | 31 Aug 19:24 2008

CVS commit: src/sys/arch/x86/x86

Module Name:	src
Committed By:	fvdl
Date:		Sun Aug 31 17:24:14 UTC 2008

Modified Files:
	src/sys/arch/x86/x86: tsc.c

Log Message:
If tsc_freq is 0 (probably due to bad virtualization, as currently
seen under VirtualBox), don't try to use TSC as a timecounter source
to avoid trouble. Matches the FreeBSD behavior.

To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 src/sys/arch/x86/x86/tsc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.