Files
u-boot-krane/include
Lijun PanandTom Rini 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
..
2014-06-20 11:56:50 -06:00
2014-05-29 17:45:31 -04:00
2014-07-07 19:43:02 -04:00
2014-07-07 19:43:02 -04:00
2014-05-27 10:21:32 -04:00
2014-06-21 10:06:58 -06:00
2014-05-16 14:54:26 +09:00
2014-07-07 19:47:18 -04:00
2014-06-19 11:18:55 -04:00
2014-07-07 19:47:19 -04:00
2014-05-28 10:58:19 +09:00
2014-06-20 11:54:29 -06:00
2014-07-07 19:43:02 -04:00
2014-07-18 17:53:24 -04:00
2014-05-30 14:03:24 -04:00
2014-05-25 16:25:12 +02:00
2014-07-07 19:43:02 -04:00
2014-06-11 16:27:06 -04:00