cvs commit: src/sys/net if_ethersubr.c

Luigi Rizzo rizzo at icir.org
Tue Dec 12 20:30:03 PST 2006


On Tue, Dec 12, 2006 at 09:13:23PM -0700, M. Warner Losh wrote:
> In message: <20061212.140133.1649770385.imp at bsdimp.com>
...
> : while established practice in NetBSD, met with considerable
> : controversy when I tried to expand it in FreeBSD land.  However,
> : putting things in param.h met with no resistance whatsoever and was
> : actively suggested.  Maybe we should move this straggler from _types.h
> : to param.h and start using it more often.
> : 
> : Warner
> : 
> 
> Here's what I came up with this afternoon between fires at work.
> 
> Comments?

makes sense - there are probably more places where it should
be used (judging by the output of "grep -r __sparc64__ sys/")

just to make sure - are we guaranteed that param.h is included
by every kernel file, or there is the risk that someone forgets
it thus missing the #define __NO_STRICT_ALIGNMENT ?

cheers
luigi


More information about the cvs-src mailing list