summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2011-04-04 22:56:33 +0000
committerjkim <jkim@FreeBSD.org>2011-04-04 22:56:33 +0000
commit9ce8e5e965cc84f57a07513a707a7ba96fdb681f (patch)
tree3ad6a4ee77851aac3d1fc8796012417290a3a95a /usr.sbin/bsdinstall
parent2e9f511b648b1cd69a91d18c1a31a669ce996699 (diff)
downloadFreeBSD-src-9ce8e5e965cc84f57a07513a707a7ba96fdb681f.zip
FreeBSD-src-9ce8e5e965cc84f57a07513a707a7ba96fdb681f.tar.gz
Use cpu_ticks() for get_cyclecount(9) rather than checking existence of TSC
at run-time on i386. cpu_ticks() is set to use RDTSC early enough on i386 where it is available. Otherwise, cpu_ticks() is driven by the current timecounter hardware as binuptime(9) does. This also avoids unnecessary namespace pollution from <machine/cputypes.h>.
Diffstat (limited to 'usr.sbin/bsdinstall')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud