xsm_get_domain_state() in xsm.h is lacking a xsm_default_t parameter.
Add it.
Fixes: 3ad3df1bd0aa ("xen: add new domctl get_domain_state")
Signed-off-by: Juergen Gross <jgross@suse.com>
---
xen/include/xsm/xsm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h
index 0689bf5c9f..6c60b923fd 100644
--- a/xen/include/xsm/xsm.h
+++ b/xen/include/xsm/xsm.h
@@ -775,7 +775,7 @@ static inline int xsm_argo_send(const struct domain *d, const struct domain *t)
#endif /* CONFIG_ARGO */
-static inline int xsm_get_domain_state(struct domain *d)
+static inline int xsm_get_domain_state(xsm_default_t def, struct domain *d)
{
return alternative_call(xsm_ops.get_domain_state, d);
}
--
2.43.0