summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/cpu.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-05-27 23:52:02 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-05-27 23:52:02 +0000
commit7a731a1fe6524c31ce7f6e8fecd60489379c6daf (patch)
tree00251abe7338d48a80bbc0279c93255f57a32969 /sys/arch/i386/include/cpu.h
parent70241e466fecebe64b70cf3856dcb01af8d7d01b (diff)
change .byte for the correct opcodes now that gas can handle'em.
art@ toby@ ok.
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) \
: ); \