summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/include/cpu.h')
-rw-r--r--sys/arch/i386/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h
index 9b6894f0c44..fa22463d0b3 100644
--- a/sys/arch/i386/include/cpu.h
+++ b/sys/arch/i386/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.47 2003/05/14 22:08:04 tedu Exp $ */
+/* $OpenBSD: cpu.h,v 1.48 2003/05/27 23:52:01 fgsch Exp $ */
/* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */
/*-
@@ -105,7 +105,7 @@ extern u_quad_t pentium_base_tsc;
do { \
if (pentium_mhz) { \
__asm __volatile("cli\n" \
- ".byte 0xf, 0x31\n" \
+ "rdtsc\n" \
"sti\n" \
: "=A" (pentium_base_tsc) \
: ); \