From aa4ad424f066f3ccb4de4e40092b0cd821840268 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Wed, 30 Oct 2024 14:13:41 +0000 Subject: [PATCH] x86/setup: Make setup.h header self contained The header uses rangeset structure pointer. Forward declare the structure. Signed-off-by: Frediano Ziglio Acked-by: Andrew Cooper --- xen/arch/x86/include/asm/setup.h | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/include/asm/setup.h b/xen/arch/x86/include/asm/setup.h index 4874ee8936..d7ed4f4002 100644 --- a/xen/arch/x86/include/asm/setup.h +++ b/xen/arch/x86/include/asm/setup.h @@ -43,6 +43,7 @@ void *bootstrap_map_bm(const struct boot_module *bm); void *bootstrap_map(const module_t *mod); void bootstrap_unmap(void); +struct rangeset; int remove_xen_ranges(struct rangeset *r); int cf_check stub_selftest(void); -- 2.39.5