x86/setup: Make setup.h header self contained
PATCH v2 1/1 x86/setup: Make setup.h header self contained
The header uses rangeset structure pointer.
Forward declare the structure.
Signed-off-by Frediano Ziglio <[email protected]>
---
Changes since v1:
- use structure forward declaration instead of including header.
--- xen/arch/x86/include/asm/setup.h | 1 + 1 file changed, 1 insertion(+)
xen/arch/x86/include/asm/setup.h +1 -0
@@ -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);
Signature · 1 line
2.34.1
Quoted 4 lines · Frediano Ziglio
The header uses rangeset structure pointer.
Forward declare the structure.Signed-off-by Frediano Ziglio <[email protected]>
Acked-by Andrew Cooper <[email protected]>