diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2023-08-14 10:18:35 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2023-10-10 14:38:18 +0200 |
commit | e3c0c5d52ad34ab2c97f93ca4a0c2e9ca2fdc06b (patch) | |
tree | b88a82e4d7f617f487fb45685c88b4ec31581976 /arch/x86/kernel/cpu/amd.c | |
parent | x86/cpu: Move cpu_core_id into topology info (diff) | |
download | linux-e3c0c5d52ad34ab2c97f93ca4a0c2e9ca2fdc06b.tar.xz linux-e3c0c5d52ad34ab2c97f93ca4a0c2e9ca2fdc06b.zip |
x86/cpu: Move cu_id into topology info
No functional change.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Juergen Gross <jgross@suse.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230814085112.628405546@linutronix.de
Diffstat (limited to 'arch/x86/kernel/cpu/amd.c')
-rw-r--r-- | arch/x86/kernel/cpu/amd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index 66bb92995a12..a744d8d51b39 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -413,7 +413,7 @@ static void amd_get_topology(struct cpuinfo_x86 *c) c->topo.die_id = ecx & 0xff; if (c->x86 == 0x15) - c->cu_id = ebx & 0xff; + c->topo.cu_id = ebx & 0xff; if (c->x86 >= 0x17) { c->topo.core_id = ebx & 0xff; |