On Wed, 28 Nov 2007 13:34:02 +0100 (CET)
Geert Uytterhoeven <geert@linux-m68k.org> wrote:
ignment (e.g. alignment =3D=3D sizeof(type)) independently of arch?
Yeah, that could work. Have a header with stuff like this:
typedef u16 __attribute__((aligned(2))) aligned_u16;
typedef u32 __attribute__((aligned(4))) aligned_u32;
and let all structures in mod_devicetable.h use those types.
Now does anyone have the time to code and test this?
Rgds
Pierre