Deleted Added
full compact
36c36
< __FBSDID("$FreeBSD: head/sys/kern/subr_smp.c 223758 2011-07-04 12:04:52Z attilio $");
---
> __FBSDID("$FreeBSD: head/sys/kern/subr_smp.c 224159 2011-07-17 23:05:24Z rwatson $");
73c73
< SYSCTL_NODE(_kern, OID_AUTO, smp, CTLFLAG_RD, NULL, "Kernel SMP");
---
> SYSCTL_NODE(_kern, OID_AUTO, smp, CTLFLAG_RD|CTLFLAG_CAPRD, NULL, "Kernel SMP");
75c75
< SYSCTL_UINT(_kern_smp, OID_AUTO, maxid, CTLFLAG_RD, &mp_maxid, 0,
---
> SYSCTL_INT(_kern_smp, OID_AUTO, maxid, CTLFLAG_RD|CTLFLAG_CAPRD, &mp_maxid, 0,
78,79c78,79
< SYSCTL_INT(_kern_smp, OID_AUTO, maxcpus, CTLFLAG_RD, &mp_maxcpus, 0,
< "Max number of CPUs that the system was compiled for.");
---
> SYSCTL_INT(_kern_smp, OID_AUTO, maxcpus, CTLFLAG_RD|CTLFLAG_CAPRD, &mp_maxcpus,
> 0, "Max number of CPUs that the system was compiled for.");
86,87c86,87
< SYSCTL_INT(_kern_smp, OID_AUTO, disabled, CTLFLAG_RDTUN, &smp_disabled, 0,
< "SMP has been disabled from the loader");
---
> SYSCTL_INT(_kern_smp, OID_AUTO, disabled, CTLFLAG_RDTUN|CTLFLAG_CAPRD,
> &smp_disabled, 0, "SMP has been disabled from the loader");
91c91
< SYSCTL_INT(_kern_smp, OID_AUTO, cpus, CTLFLAG_RD, &smp_cpus, 0,
---
> SYSCTL_INT(_kern_smp, OID_AUTO, cpus, CTLFLAG_RD|CTLFLAG_CAPRD, &smp_cpus, 0,