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>
This commit is contained in:
Andy Shevchenko
2024-05-07 23:01:31 +03:00
committed by Yury Norov
parent fe708f9155
commit 9f2c2d6ba1
3 changed files with 8 additions and 7 deletions

View File

@@ -3,6 +3,7 @@
#include <linux/fault-inject-usercopy.h>
#include <linux/instrumented.h>
#include <linux/uaccess.h>
#include <linux/wordpart.h>
#include <linux/nospec.h>
/* out-of-line parts */