Thread (3 messages) 3 messages, 2 authors, 2007-12-10

Re: Correct types for mod_devicetable.h (was: Re: m68k build failure)

From: Pierre Ossman <hidden>
Date: 2007-12-09 17:08:31
Also in: lkml

Possibly related (same subject, not in this thread)

On Sun, 2 Dec 2007 12:22:31 +0100 (CET)
Geert Uytterhoeven [off-list ref] wrote:
I gave it a try:
  - Remove existing alignment attributes from some device_id types
  - Introduce kernel_* types with proper size and alignment for
    cross-compilation (sample <asm/kerneltypes.h> for m68k included)
  - Introduce BITS_PER_KERNEL_LONG, to make it clearer it applies to the target

Apart from a cross-compile session for m68k, it's untested.
This still requires a bit of maintenance to set up a kerneltypes.h for every arch. It also means we have to be very careful that gcc's internal alignment settings matched the ones in our header.

Rgds
Pierre

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help