Skip to contentSkip to conversation

x86/setup: Make setup.h header self contained

PATCH In review Frediano Ziglio 2 participants 2 messages Oct 30, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 x86/setup: Make setup.h header self contained

The header uses rangeset structure pointer.
Forward declare the structure.

---
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
index 4874ee8936..d7ed4f4002 100644
@@ -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