From 946a927dcbcaf50e4510f745d2a4398bda620b15 Mon Sep 17 00:00:00 2001 From: Zhang Chen Date: Mon, 19 Feb 2024 18:18:20 +0800 Subject: [PATCH] hv: sched: Fix scheduler priority issue Fix build issue. Tracked-On: #8586 Signed-off-by: Zhang Chen Reviewed-by: Junjie Mao --- hypervisor/common/sched_prio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypervisor/common/sched_prio.c b/hypervisor/common/sched_prio.c index 2ca517c93..f3b712794 100644 --- a/hypervisor/common/sched_prio.c +++ b/hypervisor/common/sched_prio.c @@ -32,7 +32,7 @@ static void sched_prio_init_data(struct thread_object *obj, struct sched_params data = (struct sched_prio_data *)obj->data; INIT_LIST_HEAD(&data->list); - data->priority = params->priority; + data->priority = params->prio; } static struct thread_object *sched_prio_pick_next(struct sched_control *ctl)