Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Sep 1997 14:37:40 -0600
From:      Steve Passe <smp@csn.net>
To:        smp@freebsd.org
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-CVSROOT@freebsd.org
Subject:   machine/up.h
Message-ID:  <199709072037.OAA27121@Ilsa.StevesCafe.com>

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

I propose that we create an alternate file to smp.h named up.h.

code could then look like:

#ifdef SMP
#include <machine/smp.h>
#else
#include <machine/up.h>
#endif

I could then move stuff like:

#ifndef SMP
#define THIS_LOCK	/* nop this out for UP */
#define THAT_FEATURE	/* nop this out for UP */
#endif

from individual files and gather them all up into up.h  This should cause less
disturbance to the source tree than the current methods.

Any objections?


--
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?199709072037.OAA27121>