summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-06-02 18:23:35 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2024-06-02 18:23:35 +0200
commit3fca58ffad37a06912d25e5a1818afb3183cff17 (patch)
tree429af9795efa9c099790db50f066c66561d17a1b /arch
parentMerge tag 'perf-urgent-2024-06-02' of git://git.kernel.org/pub/scm/linux/kern... (diff)
parentsched/x86: Export 'percpu arch_freq_scale' (diff)
downloadlinux-3fca58ffad37a06912d25e5a1818afb3183cff17.tar.xz
linux-3fca58ffad37a06912d25e5a1818afb3183cff17.zip
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')
-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)
{