summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorgnezdo <gnezdo@cvs.openbsd.org>2021-05-01 16:18:30 +0000
committergnezdo <gnezdo@cvs.openbsd.org>2021-05-01 16:18:30 +0000
commit4d3c30b42db1ea82c347951aa52a3e206626f1ec (patch)
tree82effb690848bf0c643a2784415c0dfed74e35e6 /sys/arch/i386
parent93bb6fd7698cf751377d0213f6abf5cef1277386 (diff)
Update the remaining SYSCTL_INT_READONLY cases
OK mvs@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/machdep.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 87c5a0ed6a6..5180762983d 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.644 2021/01/09 21:01:20 gnezdo Exp $ */
+/* $OpenBSD: machdep.c,v 1.645 2021/05/01 16:18:28 gnezdo Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -3560,11 +3560,11 @@ idt_vec_free(int vec)
const struct sysctl_bounded_args cpuctl_vars[] = {
{ CPU_LIDACTION, &lid_action, 0, 2 },
- { CPU_CPUID, &cpu_id, 1, 0 },
- { CPU_OSFXSR, &i386_use_fxsave, 1, 0 },
- { CPU_SSE, &i386_has_sse, 1, 0 },
- { CPU_SSE2, &i386_has_sse2, 1, 0 },
- { CPU_XCRYPT, &i386_has_xcrypt, 1, 0 },
+ { CPU_CPUID, &cpu_id, SYSCTL_INT_READONLY },
+ { CPU_OSFXSR, &i386_use_fxsave, SYSCTL_INT_READONLY },
+ { CPU_SSE, &i386_has_sse, SYSCTL_INT_READONLY },
+ { CPU_SSE2, &i386_has_sse2, SYSCTL_INT_READONLY },
+ { CPU_XCRYPT, &i386_has_xcrypt, SYSCTL_INT_READONLY },
};
/*