From: Matt Fleming Date: Tue, 28 Feb 2012 13:37:20 +0000 (+0000) Subject: tools/include: Add byteshift headers for endian access X-Git-Tag: v3.4-rc1~152^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a07f7672d7cf0ff0d6e548a9feb6e0bd016d9c6c;p=pandora-kernel.git tools/include: Add byteshift headers for endian access There are various hostprogs in the kernel that are rolling their own implementations of {get,put}_unaligned_le*(). Copy the byteshift headers from include/linux/unaligned so that they can all use a single implementation. This requires changing some of the data types to the userspace exported ones (u32 -> __u32, etc). Signed-off-by: Matt Fleming Link: http://lkml.kernel.org/r/1330436245-24875-2-git-send-email-matt@console-pimps.org Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed