diff options
author | jkim <jkim@FreeBSD.org> | 2011-03-10 20:02:58 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2011-03-10 20:02:58 +0000 |
commit | 98d68ca74180ecc5c33c021c3a2662b4465e1e09 (patch) | |
tree | d3e4a7627440d02978a01253e4de46f2eb1bae99 /sys/pc98/pc98 | |
parent | faa7c47cee548849c5160cbc1e2ef218fc3bf3b3 (diff) | |
download | FreeBSD-src-98d68ca74180ecc5c33c021c3a2662b4465e1e09.zip FreeBSD-src-98d68ca74180ecc5c33c021c3a2662b4465e1e09.tar.gz |
Deprecate rarely used tsc_is_broken. Instead, we zero out tsc_freq because
it is almost always used with tsc_freq any way.
Diffstat (limited to 'sys/pc98/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 94e5aee..07b3b84 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -1103,7 +1103,7 @@ cpu_est_clockrate(int cpu_id, uint64_t *rate) #endif tsc2 -= tsc1; - if (tsc_freq != 0 && !tsc_is_broken) { + if (tsc_freq != 0) { *rate = tsc2 * 1000; return (0); } |