diff options
author | peter <peter@FreeBSD.org> | 1997-05-01 14:18:05 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-05-01 14:18:05 +0000 |
commit | b0d268e71fb37166b2b2d8cfc7f204d5c31ca3a0 (patch) | |
tree | d7cecbcb3c90e74f29e95a463bb3cbeecfb40a1f /sys/kern | |
parent | ddcb5c598e31ee0a0f487aa5f51caa1ca036c2fc (diff) | |
download | FreeBSD-src-b0d268e71fb37166b2b2d8cfc7f204d5c31ca3a0.zip FreeBSD-src-b0d268e71fb37166b2b2d8cfc7f204d5c31ca3a0.tar.gz |
This is obvious to people who've been using the smp kernel for a while,
but now that we've widened the scope of the smp work to -current, it might
be an idea to warn new people that might not have read all the docs yet
that the SMP support needs to be activated via a sysctl.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_smp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/init_smp.c b/sys/kern/init_smp.c index 37c7ff3..f335666 100644 --- a/sys/kern/init_smp.c +++ b/sys/kern/init_smp.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: init_smp.c,v 1.1 1997/04/26 11:46:12 peter Exp $ + * $Id: init_smp.c,v 1.2 1997/04/28 00:24:00 fsmp Exp $ */ #include "opt_smp.h" @@ -185,6 +185,8 @@ void *dummy; smp_cpus = 1; smp_active = mp_ncpus; /* XXX */ boot_unlock(); +#else + printf("You can now activate SMP processing, use: sysctl -w kern.smp_active=%d\n", mp_ncpus); #endif /* SMP_AUTOSTART */ } |