diff options
author | Tejun Heo <tj@kernel.org> | 2009-10-02 08:28:56 +0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-10-02 08:28:56 +0400 |
commit | 12cda817779ce5381a9a4ba8d464abe17c50a9e2 (patch) | |
tree | bf1df2ad748164da0de42cb84dc483da73d3b094 /arch/ia64/mm/contig.c | |
parent | 126b3fcdecd350cad9700908d0ad845084e26a31 (diff) | |
download | linux-12cda817779ce5381a9a4ba8d464abe17c50a9e2.tar.xz |
ia64: initialize cpu maps early
All information necessary to initialize cpu possible and present maps
are available once early_acpi_boot_init() is complete. Reorganize
setup_arch() and acpi init functions such that,
* CPU information is printed after LAPIC entries are parsed in
early_acpi_boot_init().
* smp_build_cpu_map() is called by setup_arch() instead of acpi
functions.
* smp_build_cpu_map() is called once all CPU related information is
available before memory is initialized.
This is primarily to allow find_memory() to use cpu maps but is also a
general cleanup. Please note that with this change, the somewhat
ad-hoc early_cpu_possible_map defined and used for NUMA configurations
is probably unnecessary. Something to clean up another day.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: linux-ia64 <linux-ia64@vger.kernel.org>
Diffstat (limited to 'arch/ia64/mm/contig.c')
0 files changed, 0 insertions, 0 deletions