Re: m68k build failure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pierre Ossman
Date: Saturday, December 1, 2007 - 1:56 pm

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
m68k build failure, Andrew Morton, (Tue Nov 27, 11:07 pm)
Re: m68k build failure, Pierre Ossman, (Wed Nov 28, 1:48 am)
Re: m68k build failure, Andrew Morton, (Wed Nov 28, 2:00 am)
Re: m68k build failure, Geert Uytterhoeven, (Wed Nov 28, 2:24 am)
Re: m68k build failure, Geert Uytterhoeven, (Wed Nov 28, 2:27 am)
Re: m68k build failure, Andreas Schwab, (Wed Nov 28, 2:58 am)
Re: m68k build failure, Pierre Ossman, (Wed Nov 28, 3:01 am)
Re: m68k build failure, Alan Cox, (Wed Nov 28, 3:07 am)
Re: m68k build failure, Pierre Ossman, (Wed Nov 28, 5:29 am)
Re: m68k build failure, Geert Uytterhoeven, (Wed Nov 28, 5:34 am)
Re: m68k build failure, Andrew Morton, (Thu Nov 29, 2:19 pm)
Re: m68k build failure, Adrian Bunk, (Fri Nov 30, 10:55 am)
Re: m68k build failure, Pierre Ossman, (Sat Dec 1, 1:56 pm)
Correct types for mod_devicetable.h (was: Re: m68k build f ..., Geert Uytterhoeven, (Sun Dec 2, 4:22 am)