Subject: Re: [RFC PATCH] kernel: add byteorder macros with alignment fixups

From: Al Viro <[email-masked]>
Date: Thu, 20 Mar 2008 18:29:11 +0000

On Thu, Mar 20, 2008 at 10:34:14AM -0700, Harvey Harrison wrote:
> A common pattern in the kernel (especially networking) is:
> 
> le32_to_cpu(get_unaligned((__le32 *)x));
> 
> Repeat for various combinations of le/be and 64/32/16 bit.  Add
> a variant that operates on possibly unaligned pointers to
> byteorder/generic.h

... and asm/unaligned.h has just acquired fuckloads of places including
it indirectly.  Not Nice(tm).