uboot/include/linux
Lijun Pan 8f2df5d369 linux/compat.h: port lower_32_bits and upper_32_bits from Linux
[backport from linux commit 204b885e and 218e180e7]
64 bit processors are becomming more and more popular.
lower_32_bits and upper_32_bits save our labor doing
shifts/manipulations like (u32)(n) and (u32)((n) >> 32).
They are good helpers in both little and big endian cases.
Port these two functions here from Linux:include/linux/kernel.h,
cater the comment message to little/big endian cases.
Later on, developers could include linux/compat.h if they want to
use these two functions.

Signed-off-by: Lijun Pan <Lijun.Pan@freescale.com>
2014-07-22 07:44:24 -04:00
..
byteorder
mtd mtd: nand: omap: add support for BCH16_ECC - NAND driver updates 2014-06-06 17:46:10 -04:00
unaligned
usb
apm_bios.h
bch.h
bitops.h
bitrev.h
compat.h linux/compat.h: port lower_32_bits and upper_32_bits from Linux 2014-07-22 07:44:24 -04:00
compiler-gcc.h
compiler-gcc3.h
compiler-gcc4.h
compiler.h
crc7.h
crc8.h Add crc8 routine 2014-01-08 17:20:34 -07:00
crc32.h
ctype.h
edd.h
err.h
ethtool.h
fb.h fb: Add a prototype for board_video_skip() 2014-03-05 12:23:48 +01:00
input.h
ioctl.h
ioport.h
kbuild.h
linkage.h add weak entry definition 2014-01-09 16:08:15 +01:00
linux_string.h
list.h
lzo.h
math64.h
mc146818rtc.h
mdio.h
mii.h
netdevice.h
poison.h
posix_types.h
rbtree.h
screen_info.h
sizes.h sizes.h - consolidate for all architectures 2014-03-04 12:15:01 -05:00
stat.h
stddef.h
string.h
stringify.h
time.h
types.h