|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Mini-OS PATCH] Add missing symbol exports for grub-pv
Grub-pv needs start_info_union and phys_to_machine_mapping to be
accessible. Export both symbols.
Fixes: 33411a11f848 ("Mini-OS: hide all symbols not exported via
EXPORT_SYMBOLS()")
Reported-by: Natanael Copa <ncopa@xxxxxxxxxxxxxxx>
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
---
arch/x86/mm.c | 1 +
arch/x86/setup.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/x86/mm.c b/arch/x86/mm.c
index 572e762e..3ba6d917 100644
--- a/arch/x86/mm.c
+++ b/arch/x86/mm.c
@@ -55,6 +55,7 @@
#endif
unsigned long *phys_to_machine_mapping;
+EXPORT_SYMBOL(phys_to_machine_mapping);
unsigned long mfn_zero;
pgentry_t *pt_base;
EXPORT_SYMBOL(pt_base);
diff --git a/arch/x86/setup.c b/arch/x86/setup.c
index b27bbed7..b613083b 100644
--- a/arch/x86/setup.c
+++ b/arch/x86/setup.c
@@ -41,6 +41,7 @@
* address of the shared_info structure, and things like that.
*/
union start_info_union start_info_union;
+EXPORT_SYMBOL(start_info_union);
#endif
/*
--
2.43.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |