Re: [Fwd: SMP in machine/params.h]

From: Pietro Cerutti <gahr_at_gahr.ch>
Date: Fri, 25 Jan 2008 10:15:25 +0100
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_at_ said (see hackers_at_), 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


Received on Fri Jan 25 2008 - 08:15:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:26 UTC