Message ID | 20250328134427.874848-9-andrew.cooper3@citrix.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | xen: Centralise byteswap infrastructure | expand |
diff --git a/tools/libs/guest/xg_dom_decompress_unsafe_zstd.c b/tools/libs/guest/xg_dom_decompress_unsafe_zstd.c index ff45732a3616..319816a390eb 100644 --- a/tools/libs/guest/xg_dom_decompress_unsafe_zstd.c +++ b/tools/libs/guest/xg_dom_decompress_unsafe_zstd.c @@ -30,9 +30,8 @@ typedef uint64_t __be64; #undef ERROR -#define __BYTEORDER_HAS_U64__ #define __TYPES_H__ /* xen/types.h guard */ -#include "../../xen/include/xen/byteorder/little_endian.h" +#include "../../xen/include/xen/byteorder.h" #include "../../xen/include/xen/unaligned.h" #include "../../xen/include/xen/xxhash.h" #include "../../xen/lib/xxhash64.c" diff --git a/xen/common/lz4/defs.h b/xen/common/lz4/defs.h index e477806634c1..b697a06c00d7 100644 --- a/xen/common/lz4/defs.h +++ b/xen/common/lz4/defs.h @@ -12,7 +12,6 @@ #define COMMON_LZ4_DEFS_H #ifdef __XEN__ -#include <asm/byteorder.h> #include <xen/unaligned.h> #else diff --git a/xen/common/lzo.c b/xen/common/lzo.c index 07b4017812dc..0393ec5c4472 100644 --- a/xen/common/lzo.c +++ b/xen/common/lzo.c @@ -68,7 +68,6 @@ #ifdef __XEN__ #include <xen/lib.h> -#include <asm/byteorder.h> #include <xen/unaligned.h> #else #define get_unaligned_le16(_p) (*(u16 *)(_p)) diff --git a/xen/common/unlzo.c b/xen/common/unlzo.c index acb8dff600fc..d52c1c92548d 100644 --- a/xen/common/unlzo.c +++ b/xen/common/unlzo.c @@ -33,7 +33,6 @@ #include <xen/lzo.h> #ifdef __XEN__ -#include <asm/byteorder.h> #include <xen/unaligned.h> #else diff --git a/xen/common/xz/private.h b/xen/common/xz/private.h index a63379994fd6..3dce124fa743 100644 --- a/xen/common/xz/private.h +++ b/xen/common/xz/private.h @@ -12,7 +12,6 @@ #ifdef __XEN__ #include <xen/kernel.h> -#include <asm/byteorder.h> #include <xen/unaligned.h> #else