Re: [PATCH] isa_{read,write}{w,l} fixed

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Feb 11 2000 - 13:55:28 EST


> I'm pretty sure it's a reasonably safe assumption gcc doesn't reorder members
> of structs as long as they are naturally aligned - otherwise I assume structs
> used for DMA would need to be fixed, too ?

Structure padding is arch specific. For example u16 is 2 byte aligned on m68k
4 byte aligned on x86 and god knows how its aligned on an S/390

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:21 EST