summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2023-05-22 14:22:36 +0200
committerTom Rini <trini@konsulko.com>2023-05-31 14:05:34 -0400
commit6ba08b3f56c93d2e97e5be3e9deccadd1e8c0796 (patch)
treebbb6304c50525ce6ecc43e320ad8e32535b79071 /fs
parent5b70e460c967c67c2cda16303f7bd965cfa6137f (diff)
downloadu-boot-6ba08b3f56c93d2e97e5be3e9deccadd1e8c0796.tar.gz
u-boot-6ba08b3f56c93d2e97e5be3e9deccadd1e8c0796.tar.bz2
u-boot-6ba08b3f56c93d2e97e5be3e9deccadd1e8c0796.zip
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 <jens.wiklander@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/crypto/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/crypto/hash.c b/fs/btrfs/crypto/hash.c
index 891a2974be..0a0b35fe9b 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>