[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45354320.6030009@rtr.ca>
Date: Tue, 17 Oct 2006 16:54:56 -0400
From: Mark Lord <liml@....ca>
To: Roland Dreier <rdreier@...co.com>
Cc: Robert Hancock <hancockr@...w.ca>,
Jens Axboe <jens.axboe@...cle.com>,
Allen Martin <AMartin@...dia.com>,
Jeff Garzik <jeff@...zik.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-ide@...r.kernel.org, prakash@...noor.de
Subject: Re: [PATCH] sata_nv ADMA/NCQ support for nForce4
Roland Dreier wrote:
> Mark> I was thinking more about the non wordsized fields, such as
> Mark> the various u8 bytes that gcc will lay out differently
> Mark> depending upon endianess.
>
> I don't know of any gcc version that changes the order of struct
> fields. You might be thinking of bitfields, which are laid out in an
> endian-dependent way.
Ack. And also thinking about other compilers I work with,
which apparently are not so friendly.
You are correct -- I just verified it (again) for myself on x86 & PPC,
and the layout of u8 doesn't change.
Cheers!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists