nodes_per_socket is static and it needn't be initialized many times
during every cpu core init. So move nodes_per_socket initialization
into bsp_init_amd.
Signed-off-by: Huang Rui
---
arch/x86/kernel/cpu/amd.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git
nodes_per_socket is static and it needn't be initialized many times
during every cpu core init. So move nodes_per_socket initialization
into bsp_init_amd.
Signed-off-by: Huang Rui
---
arch/x86/kernel/cpu/amd.c | 14 --
1 file changed, 12 insertions(+), 2
2 matches
Mail list logo