]> xenbits.xensource.com Git - mini-os.git/commitdiff
x86/mm: add EXPORT_SYMBOL() for `pt_base`
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 19 Jan 2024 08:42:09 +0000 (09:42 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Jan 2024 08:42:09 +0000 (09:42 +0100)
Without this, building "ioemu-stubdom" fails on Debian Buster or
Bookworm, with:

/home/osstest/build.184372.build-amd64/xen/stubdom/mini-os-x86_64-ioemu/mini-os.o: in function `xenfb_pv_display_init':
ungetc.c:(.text+0x43533): undefined reference to `pt_base'

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
arch/x86/mm.c

index 767a5f07f9b604ee5afa5762dcbfa491d67fbaf0..be1cf0cfe3677d4a5f34bf1d82ab216f4fafb059 100644 (file)
@@ -57,6 +57,7 @@
 unsigned long *phys_to_machine_mapping;
 unsigned long mfn_zero;
 pgentry_t *pt_base;
+EXPORT_SYMBOL(pt_base);
 static unsigned long first_free_pfn;
 static unsigned long last_free_pfn;
 static unsigned long virt_kernel_area_end = VIRT_KERNEL_AREA;