On Thu, Mar 17, 2005 at 02:03:16PM -0800, David S. Miller wrote: > Thanks for the info. I've just added the following diff > on top so that the COLDFIRE build uses the new generic > unaligned header.
You do realize that the compiler knows when the target supports unaligned loads, and optimizes the __attribute__((packed)) case appropriately? I'd be surprised if *any* target needed a specialized version (indeed, if so, I'd consider this a failing in the compiler). r~
