Nicolas Saenz Julienne c92921bb52 linux/bitfield.h: Add primitives for manipulating bitfields both in host- and fixed-endian
Imports Al Viro's original Linux commit 00b0c9b82663a, which contains
an in depth explanation and two fixes from Johannes Berg:
 e7d4a95da86e0 "bitfield: fix *_encode_bits()",
 37a3862e12382 "bitfield: add u8 helpers".

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
[s.nawrocki: added empty lines between functions and macros]
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
[mb: squash fix including byteorder.h]
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
2020-07-10 11:47:12 +02:00
..
2019-12-06 16:44:20 -05:00
2019-12-06 16:44:20 -05:00
2019-12-06 16:44:20 -05:00
2018-06-07 17:08:06 -04:00
2018-11-20 13:08:15 +01:00
2017-07-06 16:17:19 -04:00
2019-05-20 13:50:34 +02:00
2020-05-11 01:30:49 +05:30
2020-01-17 17:53:52 -05:00
2019-11-07 00:24:59 +01:00
2017-04-13 09:41:10 -04:00
2019-12-06 16:44:20 -05:00
2018-11-20 13:08:15 +01:00
2017-07-06 16:17:19 -04:00
2020-02-05 19:33:46 -07:00
2019-12-06 16:44:19 -05:00
2019-05-05 08:48:50 -04:00