Index: sys/i386/i386/mp_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/mp_machdep.c,v retrieving revision 1.203 diff -u -r1.203 mp_machdep.c --- sys/i386/i386/mp_machdep.c 24 Feb 2003 14:36:03 -0000 1.203 +++ sys/i386/i386/mp_machdep.c 2 Mar 2003 01:25:10 -0000 @@ -278,6 +278,9 @@ int io_num_to_apic_id[NAPICID]; int apic_id_to_logical[NAPICID]; +TUNABLE_INT("machdep.smp_cpus", (int *)&mp_naps); +SYSCTL_INT(_machdep, OID_AUTO, smp_cpus, CTLFLAG_RD, + &mp_naps, 1, "Number of Application processors in use."); /* AP uses this during bootstrap. Do not staticize. */ char *bootSTK;