From owner-freebsd-smp Sun Sep 7 13:39:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA10000 for smp-outgoing; Sun, 7 Sep 1997 13:39:37 -0700 (PDT) Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA09907; Sun, 7 Sep 1997 13:37:42 -0700 (PDT) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.7/8.8.5) with ESMTP id OAA27121; Sun, 7 Sep 1997 14:37:40 -0600 (MDT) Message-Id: <199709072037.OAA27121@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: smp@freebsd.org cc: cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-CVSROOT@freebsd.org Subject: machine/up.h Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Sep 1997 14:37:40 -0600 Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I propose that we create an alternate file to smp.h named up.h. code could then look like: #ifdef SMP #include #else #include #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