From: Anthony PERARD Date: Fri, 19 Jan 2024 08:42:09 +0000 (+0100) Subject: x86/mm: add EXPORT_SYMBOL() for `pt_base` X-Git-Tag: xen-4.19.0-rc4~4 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=51ecb456b133d82ac44b3774a47202cea0d1842e;p=mini-os.git x86/mm: add EXPORT_SYMBOL() for `pt_base` 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 Reviewed-by: Samuel Thibault --- diff --git a/arch/x86/mm.c b/arch/x86/mm.c index 767a5f0..be1cf0c 100644 --- a/arch/x86/mm.c +++ b/arch/x86/mm.c @@ -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;