[Fwd: SMP in machine/params.h]

Pietro Cerutti gahr at gahr.ch
Fri Jan 25 01:15:43 PST 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080125/bc1b0fb6/signature.pgp


More information about the freebsd-current mailing list