diff options
author | jkim <jkim@FreeBSD.org> | 2011-03-15 17:19:52 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2011-03-15 17:19:52 +0000 |
commit | ad8ef5e4c74c5284ed975a5c90bc986ea4ed3933 (patch) | |
tree | d87e7f881f4daa44164c406cd5648fc96c3d4144 /sys/pc98 | |
parent | d3440080b0bc9de31def1f395728bafd1bcb558f (diff) | |
download | FreeBSD-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.c | 2 |
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. */ |