Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 98c9df59 authored by Jordan Crouse's avatar Jordan Crouse Committed by Satya Durga Srinivasu Prabhala
Browse files

sched: Fix per-cpu declaration of sched_load_boost



Switch an accidental use of DEFINE_PER_CPU_READ_MOSTLY when
the developer clearly wanted to use DECLARE_PER_CPU_READ_MOSTLY.

CONFIG_DEBUG_FORCE_WEAK_CPU enforces that each per-cpu object
in the kernel have a unique name so if ccidently uses
DEFINE_PER_CPU_READ_MOSTLY in a header it would define the same
symbol in each file that used the header which in the case of
linux/sched.h is pretty much all of them.

Fixes: 7ebdf76d ("sched: Add snapshot of Window Assisted Load Tracking (WALT)")
Change-Id: Ic0dedbad780bfce92aee3b79aec0fa99155f66be
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 4cb51ad4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment