Loading kernel/sched/walt.c +5 −2 Original line number Diff line number Diff line /* * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -3371,9 +3371,12 @@ static void walt_init_once(void) void walt_sched_init_rq(struct rq *rq) { int j; static bool init; if (cpu_of(rq) == 0) if (!init) { walt_init_once(); init = true; } cpumask_set_cpu(cpu_of(rq), &rq->freq_domain_cpumask); Loading Loading
kernel/sched/walt.c +5 −2 Original line number Diff line number Diff line /* * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -3371,9 +3371,12 @@ static void walt_init_once(void) void walt_sched_init_rq(struct rq *rq) { int j; static bool init; if (cpu_of(rq) == 0) if (!init) { walt_init_once(); init = true; } cpumask_set_cpu(cpu_of(rq), &rq->freq_domain_cpumask); Loading