]> xenbits.xensource.com Git - people/aperard/xen-unstable.git/commitdiff
arm: Remove asm/byteorder.h
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 28 Mar 2025 13:11:06 +0000 (13:11 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 18 Apr 2025 14:16:12 +0000 (15:16 +0100)
With the common code moved fully onto xen/byteorder.h, clean up the dregs.

Sort includes in some files while swapping over to xen/byteorder.h.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/alternative.c
xen/arch/arm/arm64/livepatch.c
xen/arch/arm/include/asm/arm32/io.h
xen/arch/arm/include/asm/arm64/io.h
xen/arch/arm/include/asm/byteorder.h [deleted file]
xen/arch/arm/kernel.c
xen/arch/arm/vgic/vgic-mmio.c

index 2c1af6e7e4262aaea8801a264d350d22f9d50e54..adb9b7d8814b74b5d0a5b3194c412cda381b40b4 100644 (file)
@@ -6,18 +6,18 @@
  * Copyright (C) 2014-2016 ARM Ltd.
  */
 
+#include <xen/byteorder.h>
 #include <xen/init.h>
-#include <xen/types.h>
 #include <xen/kernel.h>
 #include <xen/llc-coloring.h>
 #include <xen/mm.h>
-#include <xen/vmap.h>
 #include <xen/smp.h>
 #include <xen/stop_machine.h>
 #include <xen/virtual_region.h>
+#include <xen/vmap.h>
+
 #include <asm/alternative.h>
 #include <asm/atomic.h>
-#include <asm/byteorder.h>
 #include <asm/cpufeature.h>
 #include <asm/insn.h>
 #include <asm/page.h>
index 6efe4ec770d48474a33780cd9387b040ac2317e1..e135bd5bf99a1d54564ab2cae3476d6515e355fd 100644 (file)
@@ -3,6 +3,7 @@
  */
 
 #include <xen/bitops.h>
+#include <xen/byteorder.h>
 #include <xen/errno.h>
 #include <xen/lib.h>
 #include <xen/livepatch_elf.h>
@@ -11,7 +12,6 @@
 #include <xen/vmap.h>
 
 #include <asm/bitops.h>
-#include <asm/byteorder.h>
 #include <asm/insn.h>
 #include <asm/livepatch.h>
 
index 782b564809e3d3d60304e79da9ed01845b75ac59..fb0425e629303f5f82d9a411242a69496d1b2755 100644 (file)
@@ -21,8 +21,9 @@
 #ifndef _ARM_ARM32_IO_H
 #define _ARM_ARM32_IO_H
 
+#include <xen/byteorder.h>
+
 #include <asm/system.h>
-#include <asm/byteorder.h>
 
 static inline void __raw_writeb(u8 val, volatile void __iomem *addr)
 {
index 2e2ab24f7838b56c9fb9968f0a98f1e7a1c8e6b4..7d595987775949898acb6bfa7ab96ff5ffcb8016 100644 (file)
@@ -20,8 +20,9 @@
 #ifndef _ARM_ARM64_IO_H
 #define _ARM_ARM64_IO_H
 
+#include <xen/byteorder.h>
+
 #include <asm/system.h>
-#include <asm/byteorder.h>
 #include <asm/alternative.h>
 
 /*
diff --git a/xen/arch/arm/include/asm/byteorder.h b/xen/arch/arm/include/asm/byteorder.h
deleted file mode 100644 (file)
index 7f1419c..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef __ASM_ARM_BYTEORDER_H__
-#define __ASM_ARM_BYTEORDER_H__
-
-#include <xen/byteorder.h>
-
-#endif /* __ASM_ARM_BYTEORDER_H__ */
-/*
- * Local variables:
- * mode: C
- * c-file-style: "BSD"
- * c-basic-offset: 4
- * indent-tabs-mode: nil
- * End:
- */
index 6eaf9e2b06b3e82f47629c5420376503e05c4fda..2647812e8e3e73843f94916afe69e9748c5c7696 100644 (file)
@@ -4,6 +4,7 @@
  *
  * Copyright (C) 2011 Citrix Systems, Inc.
  */
+#include <xen/byteorder.h>
 #include <xen/domain_page.h>
 #include <xen/errno.h>
 #include <xen/guest_access.h>
@@ -15,7 +16,6 @@
 #include <xen/sched.h>
 #include <xen/vmap.h>
 
-#include <asm/byteorder.h>
 #include <asm/kernel.h>
 #include <asm/setup.h>
 
index b4ba34cfc3688d9d7586b8f89e1b43969632662a..d2bcb32cd7973d455bfb17da3c6d40ca0ec1fca4 100644 (file)
 
 #include <xen/bitops.h>
 #include <xen/bsearch.h>
+#include <xen/byteorder.h>
 #include <xen/lib.h>
 #include <xen/sched.h>
+
 #include <asm/new_vgic.h>
-#include <asm/byteorder.h>
 
 #include "vgic.h"
 #include "vgic-mmio.h"