Skip to content

Commit 3fca58f

Browse files
committed
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'
2 parents efa8f11 + d40605a commit 3fca58f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/kernel/cpu/aperfmperf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ static DECLARE_WORK(disable_freq_invariance_work,
345345
disable_freq_invariance_workfn);
346346

347347
DEFINE_PER_CPU(unsigned long, arch_freq_scale) = SCHED_CAPACITY_SCALE;
348+
EXPORT_PER_CPU_SYMBOL_GPL(arch_freq_scale);
348349

349350
static void scale_freq_tick(u64 acnt, u64 mcnt)
350351
{

0 commit comments

Comments
 (0)