diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-05-07 22:01:31 +0200 |
---|---|---|
committer | Yury Norov <yury.norov@gmail.com> | 2024-05-20 01:12:38 +0200 |
commit | 9f2c2d6ba13da08643c65b948ce5e3d616864c47 (patch) | |
tree | ed722d46a1e9847db51651fff6aac385a9ba0e73 /lib | |
parent | MAINTAINERS: add BITOPS API record (diff) | |
download | linux-9f2c2d6ba13da08643c65b948ce5e3d616864c47.tar.xz linux-9f2c2d6ba13da08643c65b948ce5e3d616864c47.zip |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/usercopy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/usercopy.c b/lib/usercopy.c index d29fe29c6849..4b62e6299cc8 100644 --- a/lib/usercopy.c +++ b/lib/usercopy.c @@ -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 */ |