From 7ad0c774e474f6d95dfda868d876af507d399657 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 15 Nov 2023 11:42:28 +0100 Subject: [PATCH] x86/boot: tidy #include-s As of d58a509e01c4 ("build,x86: remove the need for build32.mk") we don't need to use non-standard #include forms anymore in the sources for the boot code helper blobs. The only place where this kind of #include needs to remain (for the time being) is mkelf32.c. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- xen/arch/x86/boot/defs.h | 2 +- xen/arch/x86/boot/reloc.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/xen/arch/x86/boot/defs.h b/xen/arch/x86/boot/defs.h index f9840044ec..239b9f8716 100644 --- a/xen/arch/x86/boot/defs.h +++ b/xen/arch/x86/boot/defs.h @@ -20,7 +20,7 @@ #ifndef __BOOT_DEFS_H__ #define __BOOT_DEFS_H__ -#include "../../../include/xen/stdbool.h" +#include #define __maybe_unused __attribute__((__unused__)) #define __packed __attribute__((__packed__)) diff --git a/xen/arch/x86/boot/reloc.c b/xen/arch/x86/boot/reloc.c index 609b02cb73..e093b7389c 100644 --- a/xen/arch/x86/boot/reloc.c +++ b/xen/arch/x86/boot/reloc.c @@ -27,10 +27,11 @@ asm ( ); #include "defs.h" -#include "../../../include/xen/multiboot.h" -#include "../../../include/xen/multiboot2.h" -#include "../../../include/xen/kconfig.h" +#include +#include +#include + #include #ifdef CONFIG_VIDEO