Copy over a few headers from the latest kernel
authorLuis R. Rodriguez <>
Mon, 11 Jan 2010 23:43:19 +0000 (15:43 -0800)
committerLuis R. Rodriguez <>
Mon, 11 Jan 2010 23:45:52 +0000 (15:45 -0800)
Copy over a few headers from the latest kernel

These header files are used regularly by new Linux driver.
Instead of backporting those headers just copy the headers
over. This is typically not recommended unless you know
what you are doing. In this case we do -- we ensure structs
don't change for usage of certain subystems and when they do
change we port the entire subsystem ourselves.

In this case we only copy over bit operations, unaligned helpers.
The only subystem related header we copy over is the wireless header
for which we use to backport the entire 802.11 subsystem using
compat-wireless, and compat-wireless uses this compat module.

We'll synch these on each kernel release.

Signed-off-by: Luis R. Rodriguez <>
13 files changed:
include/linux/bitops.h [new file with mode: 0644]
include/linux/unaligned/access_ok.h [new file with mode: 0644]
include/linux/unaligned/be_byteshift.h [new file with mode: 0644]
include/linux/unaligned/be_memmove.h [new file with mode: 0644]
include/linux/unaligned/be_struct.h [new file with mode: 0644]
include/linux/unaligned/generic.h [new file with mode: 0644]
include/linux/unaligned/le_byteshift.h [new file with mode: 0644]
include/linux/unaligned/le_memmove.h [new file with mode: 0644]
include/linux/unaligned/le_struct.h [new file with mode: 0644]
include/linux/unaligned/memmove.h [new file with mode: 0644]
include/linux/unaligned/packed_struct.h [new file with mode: 0644]
include/linux/wireless.h [new file with mode: 0644]