From: Jan Beulich Date: Fri, 24 Jan 2020 12:48:13 +0000 (+0100) Subject: Arm/p2m: fix build after ea22bcd030da and 2aa977eb6baa X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~823 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=906ebd0a1cc99f89b820fdae2424d7bb66630c25;p=xen.git Arm/p2m: fix build after ea22bcd030da and 2aa977eb6baa Each of these commits introduced a function prototype referencing a structure which hadn't at least been forward declared. Add such declarations. Signed-off-by: Jan Beulich Acked-by: George Dunlap --- diff --git a/xen/include/xen/mem_access.h b/xen/include/xen/mem_access.h index 5d53fb8ce4..9dfebe6a29 100644 --- a/xen/include/xen/mem_access.h +++ b/xen/include/xen/mem_access.h @@ -58,6 +58,7 @@ typedef enum { /* NOTE: Assumed to be only 4 bits right now on x86. */ } p2m_access_t; +struct p2m_domain; bool xenmem_access_to_p2m_access(const struct p2m_domain *p2m, xenmem_access_t xaccess, p2m_access_t *paccess); @@ -79,6 +80,7 @@ long p2m_set_mem_access_multi(struct domain *d, int p2m_set_suppress_ve(struct domain *d, gfn_t gfn, bool suppress_ve, unsigned int altp2m_idx); +struct xen_hvm_altp2m_suppress_ve_multi; int p2m_set_suppress_ve_multi(struct domain *d, struct xen_hvm_altp2m_suppress_ve_multi *suppress_ve);