]> xenbits.xensource.com Git - mini-os.git/commitdiff
Add missing symbol exports for grub-pv xen-stable-4.20 xen-RELEASE-4.20.0
authorJuergen Gross <jgross@suse.com>
Tue, 29 Oct 2024 11:41:58 +0000 (12:41 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 29 Oct 2024 11:58:49 +0000 (11:58 +0000)
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@alpinelinux.org>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
arch/x86/mm.c
arch/x86/setup.c

index 572e762ec754ad9b36671f95577f7589d4a34d9c..3ba6d9172da3258593fd359b75cd12932de07b41 100644 (file)
@@ -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);
index b27bbed71e6254cf64e322f869a50960dad55030..b613083b9852cf9dc81ac13228c3a7d63a0d9033 100644 (file)
@@ -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
 
 /*