Subject: Re: CVS commit: syssrc/sys/net
To: Klaus Klein <kleink@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 01/14/2002 10:23:37
On Mon, Jan 14, 2002 at 08:19:17PM +0200, Klaus Klein wrote:
> Log Message:
> Include <machine/intr.h> unconditionally, instead of only doing so if
> __HAVE_GENERIC_SOFT_INTERRUPTS and relying on <sys/param.h> to provide it
> otherwise; pointed out by Aymeric Vincent.
While this is the right direction for the future, be forewarned that
not all platforms have <machine/intr.h>.
Of course, those platforms are broken by definition, so forcing the issue
by breaking compilation is good.
Perhaps eventually we should simply garbage-collect the
__HAVE_GENERIC_SOFT_INTERRUPTS test, as well, and assume
that it's always there.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>