diff options
author | Yazen Ghannam <yazen.ghannam@amd.com> | 2020-11-09 22:06:57 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-11-19 11:43:17 +0100 |
commit | db970bd231c2264a062e0de4dcf4ead5e6669e7a (patch) | |
tree | 08f0a299d58b2051fa9b66aca5925d0273475e24 /net | |
parent | x86/CPU/AMD: Save AMD NodeId as cpu_die_id (diff) | |
download | linux-db970bd231c2264a062e0de4dcf4ead5e6669e7a.tar.xz linux-db970bd231c2264a062e0de4dcf4ead5e6669e7a.zip |
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 <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201109210659.754018-3-Yazen.Ghannam@amd.com
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions