src/sys/kern/kern_pmc.c
/*
 * Return the maximum CPU number supported by the system.  The return
 * value is used for scaling internal data structures and for runtime
 * checks.
 */
Return the maximum CPU number supported by the system.  The return
value is used for scaling internal data structures and for runtime
checks.
Return the maximum CPU number supported by the system . The return value is used for scaling internal data structures and for runtime checks .
unsigned int
pmc_cpu_max(void)
{
#ifdef	SMP
	return (mp_maxid+1);
#else
	return (1);
#endif
}
unsigned int pmc_cpu_max ( void ) { #ifdef SMP return ( mp_maxid + 1 ) ; #else return ( 1 ) ; #endif }
Return the maximum CPU number supported by the system.
Return the maximum CPU number supported by the system .