Date: Fri, 25 Jan 2008 10:15:25 +0100 From: Pietro Cerutti <gahr@gahr.ch> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-current@freebsd.org Subject: Re: [Fwd: SMP in machine/params.h] Message-ID: <4799A8AD.1000905@gahr.ch> In-Reply-To: <20080124.213741.1628329459.imp@bsdimp.com> References: <47989278.6050802@gahr.ch> <20080124.213741.1628329459.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] M. Warner Losh wrote: > Why do you think that the SMP macro should be defined in > machine/param.h? I meant "set". I was having a problem understanding with the following (from machine/param.h): #ifdef SMP #define MAXCPU 16 #else #define MAXCPU 1 #endif /* SMP */ but as jhb@ said (see hackers@), they're not supposed to be exported to userland anyway. Maybe some #ifdef _KERNEL ..... #endif could help... > > Warner -- Pietro Cerutti PGP Public Key: http://gahr.ch/pgp [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHmaiywMJqmJVx944RCoEAAKCfzfgD71eCc0hrhHmn9S3EG9RKlwCgwNIP ZEKTFEFT7IkdTxTCaCnlDRA= =o4o+ -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4799A8AD.1000905>
