[PATCH 5/9] include: Import <linux/bits.h> & Update bitops.h
Simon Glass
sjg at chromium.org
Wed Mar 16 20:23:40 CET 2022
On Wed, 16 Mar 2022 at 09:40, Pierre-Clément Tosi <ptosi at google.com> wrote:
>
> Import the header from version 5.16 of the kernel:
>
> commit df0cc57e057f18e44dac8e6c18aba47ab53202f9
>
> Inline the included <vdso/bits.h> and prevent U-Boot from including
> <asm/bitsperlong.h> as BITS_PER_LONG is defined in <asm/types.h>.
>
> Remove now-duplicate definitions from <linux/bitops.h>.
>
> Note: This brings extra compile-time checks through GENMASK_INPUT_CHECK.
>
> Signed-off-by: Pierre-Clément Tosi <ptosi at google.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> ---
> include/linux/bitops.h | 27 ++++++---------------
> include/linux/bits.h | 55 ++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 62 insertions(+), 20 deletions(-)
> create mode 100644 include/linux/bits.h
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list