cvs commit: src/sys/net if_ethersubr.c
Bernd Walter
ticso at cicely12.cicely.de
Tue Dec 12 06:43:22 PST 2006
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 at bwct.de info at bwct.de support at fizon.de
More information about the cvs-all
mailing list