diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-01-29 02:14:53 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-01-29 02:14:53 +0000 |
commit | 4bcfce8d2a962e517886ec25da01119c250d9d5e (patch) | |
tree | fcf0faeae4e1d5ad7efa4e442d58b5b28d24f877 /sys/arch | |
parent | cb2cd543f599979f7d24c6f0bc724132c61adebe (diff) |
Simplify test for CPUID_TSC in cpu_feature
ok fgsch@, deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 6e0b5ab5b86..e7ae0b12894 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.263 2004/01/29 01:36:13 tom Exp $ */ +/* $OpenBSD: machdep.c,v 1.264 2004/01/29 02:14:52 tom Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -1963,7 +1963,7 @@ identifycpu() printf("%s: %s", cpu_device, cpu_model); #if defined(I586_CPU) || defined(I686_CPU) - if (cpu_feature && (cpu_feature & CPUID_TSC)) { /* Has TSC */ + if (cpu_feature & CPUID_TSC) { /* Has TSC */ calibrate_cyclecounter(); if (pentium_mhz > 994) { int ghz, fr; |