diff options
author | 1997-08-16 18:26:30 +0000 | |
---|---|---|
committer | 1997-08-16 18:26:30 +0000 | |
commit | 8355674cb06a3bb314ef3185fe57978013d3c700 (patch) | |
tree | 5d304fb00c25f5946abbd3050a82a3000f516cf1 | |
parent | Allow DEFBADDYNAMICPORTS_TCP and DEFBADDYNAMICPORTS_UDP to be (diff) | |
download | wireguard-openbsd-8355674cb06a3bb314ef3185fe57978013d3c700.tar.xz wireguard-openbsd-8355674cb06a3bb314ef3185fe57978013d3c700.zip |
Bug.
-rw-r--r-- | sys/arch/i386/include/pctr.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/i386/include/pctr.h b/sys/arch/i386/include/pctr.h index 79f50cd017a..df42194a216 100644 --- a/sys/arch/i386/include/pctr.h +++ b/sys/arch/i386/include/pctr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pctr.h,v 1.5 1996/10/20 15:27:48 dm Exp $ */ +/* $OpenBSD: pctr.h,v 1.6 1997/08/16 18:26:30 dm Exp $ */ /* * Pentium performance counter driver for OpenBSD. @@ -74,7 +74,11 @@ struct pctrst { "\tje 1f\n" \ "\tmovl $1,%%eax\n" \ "\tcpuid\n" \ + "\tjmp 2f\n" \ "1:\t" \ + "\txorl %%eax,%%eax\n" \ + "\txorl %%edx,%%edx\n" \ + "2:\t" \ : "=A" (id) : "i" (PSL_ID) \ : "edx", "ecx", "ebx"); \ id; \ |