Kazutaka YOKOTA wrote:
> Is there any way for the loadable module to detect if
> the kernel is configured for SMP or UP?

There is a global variable, "ncpu".  Its name may have changed
recently, so you will want to look at the SYSCTL() stuff in
/sys/i386/i386 to be sure.

-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to