]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mce: use early_cpu_to_node() in mce_init()
authorNicholas Piggin <npiggin@gmail.com>
Mon, 11 Jul 2022 03:06:52 +0000 (13:06 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 27 Jul 2022 11:36:04 +0000 (21:36 +1000)
commit83b6f37ce7425631f80fd98e25a6ec506ca5eb60
treee8980b85021692afcebd01c4945bc6fbd8c96f27
parent9df5f6ce39ce5c2696421533d33de36cd811563b
powerpc/mce: use early_cpu_to_node() in mce_init()

cpu_to_node() is not yet available (setup_arch() is called before
setup_per_cpu_areas() by start_kernel()).

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220711030653.150950-1-npiggin@gmail.com
arch/powerpc/kernel/mce.c