tools: Copy bitfield.h from the kernel sources
authorRicardo Koller <ricarkol@google.com>
Mon, 17 Oct 2022 19:58:25 +0000 (19:58 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 10 Nov 2022 19:10:27 +0000 (19:10 +0000)
commit590b949597b1e811d35df2f32021dd17d8e47f8c
treefa19f23beeba4fd5f50b3a58a0b37f3166ae3112
parent41f5189ea9c08f7fc28340a7aefc93d0d2dcb769
tools: Copy bitfield.h from the kernel sources

Copy bitfield.h from include/linux/bitfield.h.  A subsequent change will
make use of some FIELD_{GET,PREP} macros defined in this header.

The header was copied as-is, no changes needed.

Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Reviewed-by: Oliver Upton <oupton@google.com>
Signed-off-by: Ricardo Koller <ricarkol@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221017195834.2295901-6-ricarkol@google.com
tools/include/linux/bitfield.h [new file with mode: 0644]