[RH7] ve/cgroup: fixup for " ve/cgroup: do not link a CT cpu cgroup twice into ve_root_list"

Submitted by Vasily Averin on July 4, 2020, 10:39 a.m.

Details

Message ID c6c66b55-693e-7d4b-9f7c-8c62d587b93b@virtuozzo.com
State New
Series "ve/cgroup: fixup for " ve/cgroup: do not link a CT cpu cgroup twice into ve_root_list""
Headers show

Commit Message

Vasily Averin July 4, 2020, 10:39 a.m.
load_ve_lock was defined twice due to mistake during rebase to RHEL7.7

https://jira.sw.ru/browse/PSBM-105237
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
---
 kernel/sched/core.c | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 3fe0d62cc51c..fdb0e8cff60d 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -2955,7 +2955,6 @@  static DEFINE_SPINLOCK(load_ve_lock);
 
 void calc_load_ve(void)
 {
-	static DEFINE_SPINLOCK(load_ve_lock);
 	unsigned long nr_unint, nr_active;
 	struct task_group *tg;
 	int i;