XSM: correct xsm_get_domain_state()
PATCH 1/1 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 <[email protected]>
xen/include/xsm/xsm.h +5 -5
@@ -231,6 +231,11 @@ static inline int xsm_getdomaininfo(xsm_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 st#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
Quoted 4 lines · Jan Beulich
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 <[email protected]>
Reviewed-by Andrew Cooper <[email protected]>
Quoted 4 lines · Jan Beulich
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 <[email protected]>
Acked-by Daniel P. Smith <[email protected]>
Quoted 4 lines · Jan Beulich
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 <[email protected]>
Acked-by Juergen Gross <[email protected]>
With this patch you can ignore my patch just sent out, I guess. :-)
Juergen