diff options
author | Con Kolivas <kernel@kolivas.org> | 2019-10-25 14:00:52 +1100 |
---|---|---|
committer | Con Kolivas <kernel@kolivas.org> | 2019-11-26 16:14:51 +1100 |
commit | 7acac2e4000e75f3349106a8847cf1021651446b (patch) | |
tree | d74553e460b55f1efdc75efc265f46c1889535d9 /kernel/livepatch/transition.c | |
parent | 219d54332a09e8d8741c1e1982f5eae56099de85 (diff) |
MultiQueue Skiplist Scheduler v0.196.5.4-muqss-196
Diffstat (limited to 'kernel/livepatch/transition.c')
-rw-r--r-- | kernel/livepatch/transition.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/livepatch/transition.c b/kernel/livepatch/transition.c index cdf318d86dd6..304c0c8c2bea 100644 --- a/kernel/livepatch/transition.c +++ b/kernel/livepatch/transition.c @@ -282,7 +282,7 @@ static bool klp_try_switch_task(struct task_struct *task) { static char err_buf[STACK_ERR_BUF_SIZE]; struct rq *rq; - struct rq_flags flags; + struct rq_flags rf; int ret; bool success = false; @@ -304,7 +304,7 @@ static bool klp_try_switch_task(struct task_struct *task) * functions. If all goes well, switch the task to the target patch * state. */ - rq = task_rq_lock(task, &flags); + rq = task_rq_lock(task, &rf); if (task_running(rq, task) && task != current) { snprintf(err_buf, STACK_ERR_BUF_SIZE, @@ -323,7 +323,7 @@ static bool klp_try_switch_task(struct task_struct *task) task->patch_state = klp_target_state; done: - task_rq_unlock(rq, task, &flags); + task_rq_unlock(rq, task, &rf); /* * Due to console deadlock issues, pr_debug() can't be used while |