summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-06-02 09:23:35 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-06-02 09:23:35 -0700
commit3fca58ffad37a06912d25e5a1818afb3183cff17 (patch)
tree429af9795efa9c099790db50f066c66561d17a1b /arch/x86
parentefa8f11a7ebeb8758dcd847a4b9a0cdcb68d9d87 (diff)
parentd40605a6823577a6c40fad6fb1f10a40ea0389d7 (diff)
Merge tag 'sched-urgent-2024-06-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fix from Ingo Molnar: "Export a symbol to make life easier for instrumentation/debugging" * tag 'sched-urgent-2024-06-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/x86: Export 'percpu arch_freq_scale'
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/cpu/aperfmperf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/aperfmperf.c b/arch/x86/kernel/cpu/aperfmperf.c
index f9a8c7b7943f..b3fa61d45352 100644
--- a/arch/x86/kernel/cpu/aperfmperf.c
+++ b/arch/x86/kernel/cpu/aperfmperf.c
@@ -345,6 +345,7 @@ static DECLARE_WORK(disable_freq_invariance_work,
disable_freq_invariance_workfn);
DEFINE_PER_CPU(unsigned long, arch_freq_scale) = SCHED_CAPACITY_SCALE;
+EXPORT_PER_CPU_SYMBOL_GPL(arch_freq_scale);
static void scale_freq_tick(u64 acnt, u64 mcnt)
{