diff options
author | Yazen Ghannam <[email protected]> | 2020-11-09 21:06:57 +0000 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-11-19 11:43:17 +0100 |
commit | db970bd231c2264a062e0de4dcf4ead5e6669e7a (patch) | |
tree | 08f0a299d58b2051fa9b66aca5925d0273475e24 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 028c221ed1904af9ac3c5162ee98f48966de6b3d (diff) |
x86/CPU/AMD: Remove amd_get_nb_id()
The Last Level Cache ID is returned by amd_get_nb_id(). In practice,
this value is the same as the AMD NodeId for callers of this function.
The NodeId is saved in struct cpuinfo_x86.cpu_die_id.
Replace calls to amd_get_nb_id() with the logical CPU's cpu_die_id and
remove the function.
Signed-off-by: Yazen Ghannam <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions