]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fs/btrfs: use asm/unaligned.h
authorJens Wiklander <jens.wiklander@linaro.org>
Mon, 22 May 2023 12:22:36 +0000 (14:22 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 31 May 2023 18:05:34 +0000 (14:05 -0400)
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>
fs/btrfs/crypto/hash.c

index 891a2974be0508ca8eb89d256688082622f91303..0a0b35fe9b964c732ff633f5de945ee6ccad81ee 100644 (file)
@@ -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>