summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-10-13 19:53:25 +0000
committerwollman <wollman@FreeBSD.org>1995-10-13 19:53:25 +0000
commitcb8eb0b245d08d777c6b7656954703d138246c20 (patch)
tree37fd359c2ff487a9651ec707960b8dc2e43683a9 /sys
parent234ef116d975fedba5bd998e69fa71d6a1c0542b (diff)
downloadFreeBSD-src-cb8eb0b245d08d777c6b7656954703d138246c20.zip
FreeBSD-src-cb8eb0b245d08d777c6b7656954703d138246c20.tar.gz
Only compile Pentium microtime in Pentium kernels.
Submitted by: Michael Butler <imb@scgt.oz.au>
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/i386/microtime.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/i386/microtime.s b/sys/i386/i386/microtime.s
index 2326856..ac547e6 100644
--- a/sys/i386/i386/microtime.s
+++ b/sys/i386/i386/microtime.s
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: Steve McCanne's microtime code
- * $Id: microtime.s,v 1.7 1994/11/05 23:53:46 bde Exp $
+ * $Id: microtime.s,v 1.8 1995/10/12 20:38:24 wollman Exp $
*/
#include <machine/asmacros.h>
@@ -171,6 +171,7 @@ common_microtime:
ret
+#ifdef I586_CPU
.extern _i586_ctr_bias
ALIGN_TEXT
@@ -181,3 +182,4 @@ pentium_microtime:
sbbl _i586_ctr_bias+4, %edx
divl %ecx # get value in usec
jmp common_microtime
+#endif /* I586_CPU */
OpenPOWER on IntegriCloud