Re: [PATCH] Fix/add raw1394 CONFIG_COMPAT code

From: Stefan Richter
Date: Sat May 19 2007 - 20:02:48 EST


Arnd Bergmann wrote:
> On Monday 07 May 2007, Petr Vandrovec wrote:
>> +struct raw1394_cycle_timer32 {
>> + __u32 cycle_timer;
>> + __u64 local_time;
>> +} __attribute__((packed));
>
> Note that this data structure only needs conversion on x86_64 and ia64, but
> not on powerpc and other 64 bit architectures that align __u64 also in
> 32 bit mode.

Is this conversion just unnecessary or actually harmful on ppc64 and others?
--
Stefan Richter
-=====-=-=== -=-= =-=--
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/