[PATCH 0/3] include: bitops/const: partial update from Linux

Denis Orlov denorl2009 at gmail.com
Thu Jun 8 21:54:06 PDT 2023


This updates some of the definitions in those files, mainly to make
BIT*/GENMASK() macros usable in assembly code.

Denis Orlov (3):
  include: const: make UL/ULL() macros commonly available
  include: bitops: allow BIT* macros to be used in assembly code
  include: bitops: import more BITS_TO_* defines from linux

 arch/arm/include/asm/memory.h    |  5 -----
 arch/arm/include/asm/pgtable64.h |  2 --
 arch/kvx/include/asm/sfr_defs.h  |  2 --
 include/linux/bitops.h           | 24 +++++++++++++++++-------
 include/linux/const.h            | 10 ++++++++--
 5 files changed, 25 insertions(+), 18 deletions(-)

-- 
2.41.0




More information about the barebox mailing list