diff options
| author | Jens Wiklander <[email protected]> | 2023-05-22 14:22:36 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-05-31 14:05:34 -0400 |
| commit | 6ba08b3f56c93d2e97e5be3e9deccadd1e8c0796 (patch) | |
| tree | bbb6304c50525ce6ecc43e320ad8e32535b79071 | |
| parent | 5b70e460c967c67c2cda16303f7bd965cfa6137f (diff) | |
fs/btrfs: use asm/unaligned.h
Use asm/unaligned.h instead of linux/unaligned/access_ok.h for unaligned
access. This is needed on architectures that doesn't handle unaligned
accesses directly.
Signed-off-by: Jens Wiklander <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
| -rw-r--r-- | fs/btrfs/crypto/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/crypto/hash.c b/fs/btrfs/crypto/hash.c index 891a2974be0..0a0b35fe9b9 100644 --- a/fs/btrfs/crypto/hash.c +++ b/fs/btrfs/crypto/hash.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ +#include <asm/unaligned.h> #include <linux/xxhash.h> -#include <linux/unaligned/access_ok.h> #include <linux/types.h> #include <u-boot/sha256.h> #include <u-boot/blake2.h> |
