From: Juergen Gross Date: Tue, 29 Oct 2024 11:41:58 +0000 (+0100) Subject: Add missing symbol exports for grub-pv X-Git-Tag: xen-RELEASE-4.20.0^0 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fxen-stable-4.20;p=mini-os.git 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 Signed-off-by: Juergen Gross Reviewed-by: Samuel Thibault --- diff --git a/arch/x86/mm.c b/arch/x86/mm.c index 572e762..3ba6d91 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 b27bbed..b613083 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 /*