summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/i386/i386/pctr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/pctr.c b/sys/arch/i386/i386/pctr.c
index 2ba407964c1..10d3b7a4b5a 100644
--- a/sys/arch/i386/i386/pctr.c
+++ b/sys/arch/i386/i386/pctr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pctr.c,v 1.25 2007/10/24 17:56:58 mikeb Exp $ */
+/* $OpenBSD: pctr.c,v 1.26 2008/11/21 03:22:29 mikeb Exp $ */
/*
* Pentium performance counter driver for OpenBSD.
@@ -190,6 +190,8 @@ pctrioctl(dev_t dev, u_long cmd, caddr_t data, int fflag, struct proc *p)
}
case PCIOCS0:
case PCIOCS1:
+ case PCIOCS2:
+ case PCIOCS3:
if (usepctr)
return (pctrsel(fflag, cmd, *(u_int *)data));
if (usep5ctr)