summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2021-11-19 16:39:13 +0100
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>2021-11-19 23:36:56 +0100
commit2a0991929aba0a3dd6fe51d1daba06a93a96a021 (patch)
tree305619771a650e1ddf959894846c99bdea84f997 /arch
parentxen: don't continue xenstore initialization in case of errors (diff)
downloadlinux-2a0991929aba0a3dd6fe51d1daba06a93a96a021.tar.xz
linux-2a0991929aba0a3dd6fe51d1daba06a93a96a021.zip
xen/pvh: add missing prototype to header
The prototype of mem_map_via_hcall() is missing in its header, so add it. Reported-by: kernel test robot <lkp@intel.com> Fixes: a43fb7da53007e67ad ("xen/pvh: Move Xen code for getting mem map via hcall out of common file") Signed-off-by: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/20211119153913.21678-1-jgross@suse.com Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/xen/hypervisor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/xen/hypervisor.h b/arch/x86/include/asm/xen/hypervisor.h
index 4957f59deb40..5adab895127e 100644
--- a/arch/x86/include/asm/xen/hypervisor.h
+++ b/arch/x86/include/asm/xen/hypervisor.h
@@ -64,6 +64,7 @@ void xen_arch_unregister_cpu(int num);
#ifdef CONFIG_PVH
void __init xen_pvh_init(struct boot_params *boot_params);
+void __init mem_map_via_hcall(struct boot_params *boot_params_p);
#endif
#endif /* _ASM_X86_XEN_HYPERVISOR_H */