The following function shall be wrapped: - scheduler_id() Signed-off-by: Penny Zheng <penny.zh...@amd.com> Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> --- v3 -> v4: - remove transient "#ifdef CONFIG_SYSCTL" --- xen/common/sched/core.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/xen/common/sched/core.c b/xen/common/sched/core.c index 9043414290..13fdf57e57 100644 --- a/xen/common/sched/core.c +++ b/xen/common/sched/core.c @@ -2069,11 +2069,13 @@ long do_set_timer_op(s_time_t timeout) return 0; } +#ifdef CONFIG_SYSCTL /* scheduler_id - fetch ID of current scheduler */ int scheduler_id(void) { return operations.sched_id; } +#endif /* Adjust scheduling parameter for a given domain. */ long sched_adjust(struct domain *d, struct xen_domctl_scheduler_op *op) -- 2.34.1