summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2011-03-15 17:19:52 +0000
committerjkim <jkim@FreeBSD.org>2011-03-15 17:19:52 +0000
commitad8ef5e4c74c5284ed975a5c90bc986ea4ed3933 (patch)
treed87e7f881f4daa44164c406cd5648fc96c3d4144 /sys/pc98
parentd3440080b0bc9de31def1f395728bafd1bcb558f (diff)
downloadFreeBSD-src-ad8ef5e4c74c5284ed975a5c90bc986ea4ed3933.zip
FreeBSD-src-ad8ef5e4c74c5284ed975a5c90bc986ea4ed3933.tar.gz
Deprecate tsc_present as the last of its real consumers finally disappeared.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/pc98/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index c1d065c..d778de5 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -1076,7 +1076,7 @@ cpu_est_clockrate(int cpu_id, uint64_t *rate)
if (pcpu_find(cpu_id) == NULL || rate == NULL)
return (EINVAL);
- if (!tsc_present)
+ if ((cpu_feature & CPUID_TSC) == 0)
return (EOPNOTSUPP);
/* If we're booting, trust the rate calibrated moments ago. */
OpenPOWER on IntegriCloud