diff options
author | Con Kolivas <kernel@kolivas.org> | 2019-10-25 14:00:52 +1100 |
---|---|---|
committer | Con Kolivas <kernel@kolivas.org> | 2019-10-25 17:01:56 +1100 |
commit | 7523eb72b6b9f9289618231aab60efb5577d8f33 (patch) | |
tree | 95bb3c5dcb67fc38d32839dd78aaf59451216ca9 /kernel/livepatch | |
parent | 4d856f72c10ecb060868ed10ff1b1453943fc6c8 (diff) |
MultiQueue Skiplist Scheduler v0.195.5.3-muqss-195
Diffstat (limited to 'kernel/livepatch')
-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 |