xen/xsm: Fix xsm_map_gfmn_foreign prototype when XSM is enabled
PATCH 1/1 xen/xsm: Fix xsm_map_gfmn_foreign prototype when XSM is enabled
Signed-off-by Julien Grall <[email protected]>
Cc Daniel De Graaf <[email protected]>
--- xen/include/xsm/xsm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/xsm/xsm.h +1 -1
@@ -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); }
Signature · 1 line
1.7.10.4
Quoted 2 lines · Julien Grall
Signed-off-by Julien Grall <[email protected]>Cc Daniel De Graaf <[email protected]>
Acked-by Daniel De Graaf <[email protected]>
Quoted 18 lines
--- xen/include/xsm/xsm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)xen/include/xsm/xsm.h +1
-1@@ -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); }