Skip to content

Commit

Permalink
hv: sched: Fix scheduler priority issue
Browse files Browse the repository at this point in the history
Fix build issue.

Tracked-On: #8586

Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
  • Loading branch information
zhangckid committed Apr 28, 2024
1 parent 629808c commit 34df271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypervisor/common/sched_prio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 34df271

Please sign in to comment.