[U-Boot] [PATCH 2/2] linux/bitops.h: split BITS, GENMASK macros out into <linux/bits.h>

Tom Rini trini at konsulko.com
Wed Jul 17 14:37:57 UTC 2019


On Thu, Jun 27, 2019 at 06:15:00PM +0900, Masahiro Yamada wrote:

> Based on Linux commit 8bd9cb51daac ("locking/atomics, asm-generic:
> Move some macros from <linux/bitops.h> to a new <linux/bits.h> file").
> 
> We cannot sync <linux/bits.h>. Unfortunately, BITS_PER_LONG is defined
> differently from Linux.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
> 
>  include/linux/bitops.h | 25 +++----------------------
>  include/linux/bits.h   | 35 +++++++++++++++++++++++++++++++++++
>  2 files changed, 38 insertions(+), 22 deletions(-)
>  create mode 100644 include/linux/bits.h

This breaks at least db-88f6720 and am65x_evm_a53 over boards that need
to change their #includes apparently.  Please re-work to cover that,
thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190717/a798948a/attachment.sig>


More information about the U-Boot mailing list