]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
squashfs: Fix compilation on big endian systems
authorPali Rohár <pali@kernel.org>
Wed, 6 Apr 2022 21:31:53 +0000 (23:31 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 3 Jun 2022 15:15:24 +0000 (11:15 -0400)
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
fs/squashfs/sqfs.c
fs/squashfs/sqfs_dir.c

index b4484fa17f59dc0baab7ad60d130c0624be0bde3..547d2fd4b3025d251232d27858238bc8fea0a584 100644 (file)
@@ -12,8 +12,7 @@
 #include <errno.h>
 #include <fs.h>
 #include <linux/types.h>
-#include <linux/byteorder/little_endian.h>
-#include <linux/byteorder/generic.h>
+#include <asm/byteorder.h>
 #include <memalign.h>
 #include <stdlib.h>
 #include <string.h>
index a265b98fe685120bf1d11fe45f876a4d8aad2961..ed83c90682ff3fd834cd4451c59c5842e72af842 100644 (file)
@@ -7,8 +7,7 @@
 
 #include <errno.h>
 #include <linux/types.h>
-#include <linux/byteorder/little_endian.h>
-#include <linux/byteorder/generic.h>
+#include <asm/byteorder.h>
 #include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>