Signed-off-by: Jan Beulich <jbeulich@suse.com>
return xsm_default_action(action, current->domain, d);
}
-static XSM_INLINE int xsm_pmu_op (XSM_DEFAULT_ARG struct domain *d, int op)
+static XSM_INLINE int xsm_pmu_op (XSM_DEFAULT_ARG struct domain *d, unsigned int op)
{
XSM_ASSERT_ACTION(XSM_OTHER);
switch ( op )
return xsm_ops->ioport_mapping(d, s, e, allow);
}
-static inline int xsm_pmu_op (xsm_default_t def, struct domain *d, int op)
+static inline int xsm_pmu_op (xsm_default_t def, struct domain *d, unsigned int op)
{
return xsm_ops->pmu_op(d, op);
}