[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] XSM: correct xsm_get_domain_state()
commit 033bfd20e8fb30e430ccfe6a8de0e1d56839e78c Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Thu Mar 6 15:21:52 2025 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Thu Mar 6 15:21:52 2025 +0100 XSM: correct xsm_get_domain_state() Add the missing first parameter and move it next to a close relative. Fixes: 3ad3df1bd0aa ("xen: add new domctl get_domain_state") Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/include/xsm/xsm.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h index 0689bf5c9f..8c33b055fc 100644 --- a/xen/include/xsm/xsm.h +++ b/xen/include/xsm/xsm.h @@ -231,6 +231,11 @@ static inline int xsm_getdomaininfo(xsm_default_t def, struct domain *d) return alternative_call(xsm_ops.getdomaininfo, d); } +static inline int xsm_get_domain_state(xsm_default_t def, struct domain *d) +{ + return alternative_call(xsm_ops.get_domain_state, d); +} + static inline int xsm_domctl_scheduler_op( xsm_default_t def, struct domain *d, int cmd) { @@ -775,11 +780,6 @@ 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) -{ - return alternative_call(xsm_ops.get_domain_state, d); -} - #endif /* XSM_NO_WRAPPERS */ #ifdef CONFIG_MULTIBOOT -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |