Date: Tue, 12 Dec 2006 15:31:13 +0100 From: Bernd Walter <ticso@cicely12.cicely.de> To: Luigi Rizzo <rizzo@icir.org> Cc: Luigi Rizzo <luigi@FreeBSD.org>, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, imp@FreeBSD.org, ticso@cicely.de Subject: Re: cvs commit: src/sys/net if_ethersubr.c Message-ID: <20061212143113.GA54209@cicely12.cicely.de> In-Reply-To: <20061212062445.A61903@xorpc.icir.org> References: <200612081036.kB8AakMD029277@repoman.freebsd.org> <20061212131333.GU54209@cicely12.cicely.de> <20061212055756.A61182@xorpc.icir.org> <20061212141759.GZ54209@cicely12.cicely.de> <20061212062445.A61903@xorpc.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 12, 2006 at 06:24:45AM -0800, Luigi Rizzo wrote: > On Tue, Dec 12, 2006 at 03:17:59PM +0100, Bernd Walter wrote: > > On Tue, Dec 12, 2006 at 05:57:56AM -0800, Luigi Rizzo wrote: > > > #if defined(__ia64__) || defined(__sparc64__) > ... > > > to detect whether the architecture is alignment-sensitive. > > > Is there any other identifier that we can use to check ? > > > > I wonder how many of these are missing __arm__? > > and this is why i wonder if there is a generic identifier > that we can use to provide alignment. Not that I know about. I would have said ALIGNBYTES != 1, but this also matches with i386. Guess it's time to introduce somehing like ALIGN_STRONG, or whatever colour fits best. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061212143113.GA54209>