From owner-freebsd-current Sun Oct 5 12:57:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA06454 for current-outgoing; Sun, 5 Oct 1997 12:57:35 -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 MAA06446; Sun, 5 Oct 1997 12:57:30 -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 NAA17128; Sun, 5 Oct 1997 13:57:33 -0600 (MDT) Message-Id: <199710051957.NAA17128@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0gamma 1/27/96 From: Steve Passe To: smp@freebsd.org cc: current@freebsd.org Subject: Re: machine/up.h In-reply-to: Your message of "Mon, 08 Sep 1997 07:34:19 +0200." <11169.873696859@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 05 Oct 1997 13:57:33 -0600 Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, awhile back I requested comment on adding a file. I think the winning reply was: > Why not simply have the code do a > > #include > > 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