Message ID | 20241030141341.2236343-1-frediano.ziglio@cloud.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v2] x86/setup: Make setup.h header self contained | expand |
On 30/10/2024 2:13 pm, Frediano Ziglio wrote: > The header uses rangeset structure pointer. > Forward declare the structure. > > Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
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);
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(+)