author | Borislav Petkov <bp@suse.de> | |
Thu, 14 Jan 2021 09:36:59 +0000 (10:36 +0100) | ||
committer | Borislav Petkov <bp@suse.de> | |
Thu, 14 Jan 2021 11:18:36 +0000 (12:18 +0100) | ||
commit | 1eb8f690bcb565a6600f8b6dcc78f7b239ceba17 | |
tree | e90fc8d5b67ea02e82966f8aa6434fa4f52e694f | tree | snapshot (tar.xz tar.gz zip) |
parent | 66a425011c61e71560c234492d204e83cfb73d1d | commit | diff |
x86/topology: Make __max_die_per_package available unconditionally
Move it outside of CONFIG_SMP in order to avoid ifdeffery at the usage
sites.
Fixes: 76e2fc63ca40 ("x86/cpu/amd: Set __max_die_per_package on AMD")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210114111814.5346-1-bp@alien8.de
Move it outside of CONFIG_SMP in order to avoid ifdeffery at the usage
sites.
Fixes: 76e2fc63ca40 ("x86/cpu/amd: Set __max_die_per_package on AMD")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210114111814.5346-1-bp@alien8.de
arch/x86/include/asm/topology.h | diff | blob | history | |
arch/x86/kernel/cpu/topology.c | diff | blob | history |