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/x86/isa/clock.c | |
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/x86/isa/clock.c')
-rw-r--r-- | sys/x86/isa/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/isa/clock.c b/sys/x86/isa/clock.c index 13698ef..cb34eb4 100644 --- a/sys/x86/isa/clock.c +++ b/sys/x86/isa/clock.c @@ -261,7 +261,7 @@ DELAY(int n) static int state = 0; #endif - if (tsc_freq != 0 && !tsc_is_broken) { + if (tsc_freq != 0) { uint64_t start, end, now; sched_pin(); |