[Xen-devel] xen/xsm: Fix xsm_map_gfmn_foreign prototype when XSM is enabled

Message ID 1393254590-9357-1-git-send-email-julien.grall@linaro.org
State Accepted
Commit e7a797a8bf115e5b79f8fb5676379c3ac5c30255
Headers show

Commit Message

Julien Grall Feb. 24, 2014, 3:09 p.m.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Cc: Daniel De Graaf <dgdegra@tycho.nsa.gov>
---
 xen/include/xsm/xsm.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h
index 1939453..5d35455 100644
--- a/xen/include/xsm/xsm.h
+++ b/xen/include/xsm/xsm.h
@@ -621,7 +621,7 @@  static inline int xsm_ioport_mapping (xsm_default_t def, struct domain *d, uint3
 #endif /* CONFIG_X86 */
 
 #ifdef CONFIG_ARM
-static inline int xsm_map_gmfn_foreign (struct domain *d, struct domain *t)
+static inline int xsm_map_gmfn_foreign (xsm_default_t def, struct domain *d, struct domain *t)
 {
     return xsm_ops->map_gmfn_foreign(d, t);
 }