Commit 6f01df96 authored by Kim Phillips's avatar Kim Phillips Committed by Xie Haocheng
Browse files

x86/cpu: Add get_llc_id() helper function

mainline inclusion
from mainline-v5.15-rc1
commit 9164d949
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I65D55


CVE: NA

--------------------------------

Factor out a helper function rather than export cpu_llc_id, which is
needed in order to be able to build the AMD uncore driver as a module.

Signed-off-by: default avatarKim Phillips <kim.phillips@amd.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210817221048.88063-7-kim.phillips@amd.com


Signed-off-by: default avatarXie Haocheng <haocheng.xie@amd.com>
parent 057d69f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment