@@ -12,8 +12,8 @@
#include <xen/sizes.h>
#include <xen/vmap.h>
-#include <asm/setup.h>
#include <asm/fixmap.h>
+#include <asm/setup.h>
/* Override macros from asm/page.h to make them work with mfn_t */
#undef mfn_to_virt
@@ -4,18 +4,18 @@
*/
#include <xen/delay.h>
-#include <xen/types.h>
+#include <xen/init.h>
+#include <xen/livepatch.h>
+
+#include <asm/alternative.h>
#include <asm/apic.h>
#include <asm/endbr.h>
+#include <asm/nmi.h>
+#include <asm/nops.h>
#include <asm/processor.h>
-#include <asm/alternative.h>
-#include <xen/init.h>
#include <asm/setup.h>
#include <asm/system.h>
#include <asm/traps.h>
-#include <asm/nmi.h>
-#include <asm/nops.h>
-#include <xen/livepatch.h>
#define MAX_PATCH_LEN (255-1)
@@ -5,14 +5,14 @@
#include <xen/errno.h>
#include <xen/init.h>
#include <xen/lib.h>
+#include <xen/livepatch.h>
+#include <xen/livepatch_elf.h>
#include <xen/mm.h>
#include <xen/pfn.h>
-#include <xen/vmap.h>
-#include <xen/livepatch_elf.h>
-#include <xen/livepatch.h>
#include <xen/sched.h>
-#include <xen/vm_event.h>
#include <xen/virtual_region.h>
+#include <xen/vm_event.h>
+#include <xen/vmap.h>
#include <asm/endbr.h>
#include <asm/fixmap.h>
@@ -25,12 +25,14 @@
#include <xen/sched.h>
#include <xen/sections.h>
#include <xen/trace.h>
-#include <xen/types.h>
+
#include <asm/current.h>
#include <asm/hardirq.h>
#include <asm/p2m.h>
#include <asm/page.h>
+
#include <public/memory.h>
+
#include <xsm/xsm.h>
#ifdef CONFIG_X86
@@ -133,7 +133,6 @@
#include <xen/param.h>
#include <xen/perfc.h>
#include <xen/pfn.h>
-#include <xen/types.h>
#include <xen/sched.h>
#include <xen/sections.h>
#include <xen/softirq.h>
@@ -144,14 +143,14 @@
#include <asm/flushtlb.h>
#include <asm/page.h>
-#include <public/sysctl.h>
#include <public/sched.h>
+#include <public/sysctl.h>
#ifdef CONFIG_X86
#include <asm/guest.h>
#include <asm/p2m.h>
-#include <asm/setup.h> /* for highmem_start only */
#include <asm/paging.h>
+#include <asm/setup.h>
#else
#define p2m_pod_offline_or_broken_hit(pg) 0
#define p2m_pod_offline_or_broken_replace(pg) BUG_ON(pg)
@@ -63,11 +63,11 @@
#include <xen/bug.h>
#include <xen/compiler.h>
-#include <xen/mm-frame.h>
-#include <xen/types.h>
#include <xen/list.h>
-#include <xen/spinlock.h>
+#include <xen/mm-frame.h>
#include <xen/perfc.h>
+#include <xen/spinlock.h>
+
#include <public/memory.h>
struct page_info;
... needing later adjustment. Drop types.h when it's clearly not needed. No functional change. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> --- CC: Anthony PERARD <anthony.perard@vates.tech> CC: Michal Orzel <michal.orzel@amd.com> CC: Jan Beulich <jbeulich@suse.com> CC: Julien Grall <julien@xen.org> CC: Roger Pau Monné <roger.pau@citrix.com> CC: Stefano Stabellini <sstabellini@kernel.org> CC: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com> CC: Bertrand Marquis <bertrand.marquis@arm.com> CC: Oleksii Kurochko <oleksii.kurochko@gmail.com> CC: Shawn Anastasio <sanastasio@raptorengineering.com> --- xen/arch/arm/mmu/setup.c | 2 +- xen/arch/x86/alternative.c | 12 ++++++------ xen/arch/x86/livepatch.c | 8 ++++---- xen/common/memory.c | 4 +++- xen/common/page_alloc.c | 5 ++--- xen/include/xen/mm.h | 6 +++--- 6 files changed, 19 insertions(+), 18 deletions(-)