bitops: Move aligned_byte_mask() to wordpart.h
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 7 May 2024 20:01:31 +0000 (23:01 +0300)
committerYury Norov <yury.norov@gmail.com>
Sun, 19 May 2024 23:12:38 +0000 (16:12 -0700)
commit9f2c2d6ba13da08643c65b948ce5e3d616864c47
treeed722d46a1e9847db51651fff6aac385a9ba0e73
parentfe708f915541b0b7b9ba066f73007fde69a0d2ea
bitops: Move aligned_byte_mask() to wordpart.h

The bitops.h is for bit related operations. The aligned_byte_mask()
is about byte (or part of the machine word) operations, for which
we have a separate header, move the mentioned macro to wordpart.h
to consolidate similar operations.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
include/linux/bitops.h
include/linux/wordpart.h
lib/usercopy.c