Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Oct 1997 13:57:33 -0600
From:      Steve Passe <smp@csn.net>
To:        smp@freebsd.org
Cc:        current@freebsd.org
Subject:   Re: machine/up.h 
Message-ID:  <199710051957.NAA17128@Ilsa.StevesCafe.com>
In-Reply-To: Your message of "Mon, 08 Sep 1997 07:34:19 %2B0200." <11169.873696859@critter.freebsd.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

awhile back I requested comment on adding a <machine/up.h> file.  I
think the winning reply was:

> Why not simply have the code do a
> 
> #include <machine/smp.h>
> 
> and in that file have
> 
> #ifdef SMP
> #define THIS_STUFF (lkjsdfgskdj)
> #define THAT_STUFF (lkjsdfgskdj)
> #else /* !SMP */
> #define THIS_STUFF /* Nothing */
> #define THAT_STUFF /* Nothing */
> #endif
> --
> Poul-Henning Kamp             FreeBSD coreteam member
> phk@FreeBSD.ORG               "Real hackers run -current on their laptop."

If no one objects, I'll try to get to this within a week or so...

--
Steve Passe	| powered by
smp@csn.net	|            Symmetric MultiProcessor FreeBSD





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710051957.NAA17128>