Skip to content
Commit a07f7672 authored by Matt Fleming's avatar Matt Fleming Committed by H. Peter Anvin
Browse files

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: default avatarMatt Fleming <matt.fleming@intel.com>
Link: http://lkml.kernel.org/r/1330436245-24875-2-git-send-email-matt@console-pimps.org
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 6b21d18e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment