linux/arch/x86/kernel/apic
Tejun Heo 797390d855 x86-32, NUMA: use sparse_memory_present_with_active_regions()
Instead of calling memory_present() for each region from NUMA init,
call sparse_memory_present_with_active_regions() from paging_init()
similarly to x86-64.

For flat and numaq, this results in exactly the same memory_present()
calls.  For srat, if there are multiple memory chunks for a node,
after this change, memory_present() will be called separately for each
chunk instead of being called once to encompass the whole range, which
doesn't cause any harm and actually is the better behavior.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
2011-05-02 14:18:52 +02:00
..
apic_flat_64.c x86: Replace apic->apicid_to_node() with ->x86_32_numa_cpu_node() 2011-01-28 14:54:08 +01:00
apic_noop.c x86-32, NUMA: Make apic->x86_32_numa_cpu_node() optional 2011-05-02 14:18:52 +02:00
apic.c x86-32, NUMA: Make apic->x86_32_numa_cpu_node() optional 2011-05-02 14:18:52 +02:00
bigsmp_32.c x86-32, NUMA: Make apic->x86_32_numa_cpu_node() optional 2011-05-02 14:18:52 +02:00
es7000_32.c x86-32, NUMA: Make apic->x86_32_numa_cpu_node() optional 2011-05-02 14:18:52 +02:00
hw_nmi.c x86: Stop including <linux/delay.h> in two asm header files 2011-03-29 09:37:42 +02:00
io_apic.c x86: devicetree: Configure IOAPIC pin only once 2011-04-28 11:38:30 +02:00
ipi.c x86: Always use x86_cpu_to_logical_apicid for cpu -> logical apic id 2011-01-28 14:54:05 +01:00
Makefile x86, nmi_watchdog: Remove the old nmi_watchdog 2010-11-18 09:08:23 +01:00
numaq_32.c x86-32, NUMA: use sparse_memory_present_with_active_regions() 2011-05-02 14:18:52 +02:00
probe_32.c x86-32, NUMA: Make apic->x86_32_numa_cpu_node() optional 2011-05-02 14:18:52 +02:00
probe_64.c x86: Enable the intr-remap fault handling after local APIC setup 2010-12-13 16:53:32 -08:00
summit_32.c x86-32, NUMA: Make apic->x86_32_numa_cpu_node() optional 2011-05-02 14:18:52 +02:00
x2apic_cluster.c x86: Replace apic->apicid_to_node() with ->x86_32_numa_cpu_node() 2011-01-28 14:54:08 +01:00
x2apic_phys.c x86: Replace apic->apicid_to_node() with ->x86_32_numa_cpu_node() 2011-01-28 14:54:08 +01:00
x2apic_uv_x.c x86, UV: Fix kdump reboot 2011-03-31 18:44:03 +02:00