WSL2-Linux-Kernel/arch/s390/numa
Michael Holzheu 2d0f76a6ca s390/numa: move numa_init_late() from device to arch_initcall
Commit 3e89e1c5ea ("hugetlb: make mm and fs code explicitly non-modular")
moves hugetlb_init() from module_init to subsys_initcall.

The hugetlb_init()->hugetlb_register_node() code accesses "node->dev.kobj"
which is initialized in numa_init_late().

Since numa_init_late() is a device_initcall which is called *after*
subsys_initcall the above mentioned patch breaks NUMA on s390.

So fix this and move numa_init_late() to arch_initcall.

Fixes: 3e89e1c5ea ("hugetlb: make mm and fs code explicitly non-modular")
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2016-01-26 12:45:24 +01:00
..
Makefile s390/numa: add emulation support 2015-08-04 14:06:53 +02:00
mode_emu.c s390/numa: write kernel message when emu_size has been increased 2015-10-14 14:31:59 +02:00
numa.c s390/numa: move numa_init_late() from device to arch_initcall 2016-01-26 12:45:24 +01:00
numa_mode.h s390/numa: add emulation support 2015-08-04 14:06:53 +02:00
toptree.c s390/numa: add topology tree infrastructure 2015-08-03 18:40:26 +02:00
toptree.h s390/numa: add topology tree infrastructure 2015-08-03 18:40:26 +02:00