All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] squashfs: Fix compilation on big endian systems
@ 2022-04-06 21:31 Pali Rohár
  2022-04-07  7:54 ` Miquel Raynal
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Pali Rohár @ 2022-04-06 21:31 UTC (permalink / raw)
  To: Joao Marcos Costa, Thomas Petazzoni, Miquel Raynal; +Cc: u-boot

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 fs/squashfs/sqfs.c     | 3 +--
 fs/squashfs/sqfs_dir.c | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
index 5d9c52af80ba..41cb811c1b32 100644
--- a/fs/squashfs/sqfs.c
+++ b/fs/squashfs/sqfs.c
@@ -11,8 +11,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>
diff --git a/fs/squashfs/sqfs_dir.c b/fs/squashfs/sqfs_dir.c
index a265b98fe685..ed83c90682ff 100644
--- a/fs/squashfs/sqfs_dir.c
+++ b/fs/squashfs/sqfs_dir.c
@@ -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>
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-06-03 19:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 21:31 [PATCH] squashfs: Fix compilation on big endian systems Pali Rohár
2022-04-07  7:54 ` Miquel Raynal
2022-04-07  9:41   ` Pali Rohár
2022-04-07  9:54     ` Miquel Raynal
2022-04-07  9:58       ` Pali Rohár
2022-06-01 14:08         ` Tom Rini
2022-06-03 14:24           ` Miquel Raynal
2022-05-10 14:33 ` Pali Rohár
2022-05-23  9:32   ` Pali Rohár
2022-06-03 19:48 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.