-
- Downloads
x86-64, NUMA: Unify {acpi|amd}_{numa_init|scan_nodes}() arguments and return values
The functions used during NUMA initialization - *_numa_init() and
*_scan_nodes() - have different arguments and return values. Unify
them such that they all take no argument and return 0 on success and
-errno on failure. This is in preparation for further NUMA init
cleanups.
Signed-off-by:
Tejun Heo <tj@kernel.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Shaohui Zheng <shaohui.zheng@intel.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: H. Peter Anvin <hpa@linux.intel.com>
Showing
- arch/x86/include/asm/acpi.h 1 addition, 1 deletionarch/x86/include/asm/acpi.h
- arch/x86/include/asm/amd_nb.h 1 addition, 1 deletionarch/x86/include/asm/amd_nb.h
- arch/x86/kernel/setup.c 2 additions, 2 deletionsarch/x86/kernel/setup.c
- arch/x86/mm/amdtopology_64.c 9 additions, 9 deletionsarch/x86/mm/amdtopology_64.c
- arch/x86/mm/numa_64.c 1 addition, 1 deletionarch/x86/mm/numa_64.c
- arch/x86/mm/srat_64.c 2 additions, 2 deletionsarch/x86/mm/srat_64.c
- drivers/acpi/numa.c 6 additions, 3 deletionsdrivers/acpi/numa.c
Loading
Please register or sign in to comment