summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZide Chen <zide.chen@intel.com>2026-06-02 07:49:06 -0700
committerPeter Zijlstra <peterz@infradead.org>2026-06-04 11:38:37 +0200
commitce044cfb7a365742b2e9229a4b70cf2a663d7270 (patch)
tree856d00cc4eaa56731975cfa541107206dd129d58 /scripts
parent9a0bb848a37150aeccc10088e141339917d995dc (diff)
perf/x86/intel/uncore: Move die_to_cpu() to uncore.c
Move die_to_cpu() into uncore.c so it can be reused by the MSR initialization path, preparing for the introduction of an MSR global initialization callback. Move the cpus_read_{lock,unlock}() out of the API, in order to make it possible to be called when the lock is being held. Add the uncore_ prefix for consistency with other uncore APIs. Signed-off-by: Zide Chen <zide.chen@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Link: https://patch.msgid.link/20260602144908.263680-6-zide.chen@intel.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions