summaryrefslogtreecommitdiff
path: root/sys/altq/altq_subr.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-25 20:42:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-25 20:42:54 +0000
commita4a191a6cf68382e7a34931ec0b650933bc897e0 (patch)
tree96df2e5fc49617a5ef53b8243c43b53659368d7e /sys/altq/altq_subr.c
parentf2b5b59297343211abb344a045930f94cb2ef1d2 (diff)
support 486 which lack the pentium_mhz stuff; from rees, kjc ok
Diffstat (limited to 'sys/altq/altq_subr.c')
-rw-r--r--sys/altq/altq_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/altq/altq_subr.c b/sys/altq/altq_subr.c
index ad897776ba3..1571bd62590 100644
--- a/sys/altq/altq_subr.c
+++ b/sys/altq/altq_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: altq_subr.c,v 1.6 2002/03/14 01:26:26 millert Exp $ */
+/* $OpenBSD: altq_subr.c,v 1.7 2002/07/25 20:42:53 deraadt Exp $ */
/* $KAME: altq_subr.c,v 1.11 2002/01/11 08:11:49 kjc Exp $ */
/*
@@ -1520,7 +1520,7 @@ init_machclk(void)
#endif
#elif defined(__NetBSD__)
machclk_freq = (u_int32_t)cpu_tsc_freq;
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__) && (defined(I586_CPU) || defined(I686_CPU))
machclk_freq = pentium_mhz * 1000000;
#endif
#elif defined(__alpha__)