:p
atchew
Login
The header uses rangeset structure typedef which definition is not included. Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com> --- 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 XXXXXXX..XXXXXXX 100644 --- a/xen/arch/x86/include/asm/setup.h +++ b/xen/arch/x86/include/asm/setup.h @@ -XXX,XX +XXX,XX @@ #define __X86_SETUP_H_ #include <xen/multiboot.h> +#include <xen/rangeset.h> #include <asm/numa.h> extern const char __2M_text_start[], __2M_text_end[]; -- 2.34.1
The header uses rangeset structure pointer. Forward declare the structure. Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com> --- Changes since v1: - use structure forward declaration instead of including header. --- 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 XXXXXXX..XXXXXXX 100644 --- a/xen/arch/x86/include/asm/setup.h +++ b/xen/arch/x86/include/asm/setup.h @@ -XXX,XX +XXX,XX @@ 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.34.1