Date: Thu, 6 Nov 1997 20:04:12 +1100 (EDT) From: Darren Reed <avalon@coombs.anu.edu.au> To: julian@whistle.com (Julian Elischer) Cc: hackers@freebsd.org Subject: Re: the kernel API... Message-ID: <199711060904.BAA02510@hub.freebsd.org> In-Reply-To: <345E7F61.52BFA1D7@whistle.com> from "Julian Elischer" at Nov 3, 97 05:50:25 pm
next in thread | previous in thread | raw e-mail | index | archive | help
In some mail from Julian Elischer, sie said: > > Darren Reed wrote: > > > > Now I guess the question is, which API or include file is right ? > > If you look at these two files, you will discover that > /usr/include/machine is derived on 386 based BSD from > /usr/src/i86/include > > looking in that directory you will see that spl.h is n longer present. > therefore you have a left-over file.. > these were felt to be machine independent defines and moved elsewhere. > (i.e. systm.h) > > I hope that solves the mystery :) > > julian (who was caught by surprise by the move a little while ago) sigh...well, the code which is responsible for including spl.h and systm.h is this: #if defined(__FreeBSD__) && defined(KERNEL) # include <machine/spl.h> #endif I guess now it will look like this: #if defined(__FreeBSD__) && defined(KERNEL) # if __FreeBSD__ < 3 # include <machine/spl.h> # endif #endif Darren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711060904.BAA02510>