x86: make memory_add_physaddr_to_nid depend on MEMORY_HOTPLUG
authorThomas Gleixner <tglx@linutronix.de>
Mon, 12 May 2008 13:43:38 +0000 (15:43 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 06:58:29 +0000 (08:58 +0200)
commit6a1673ae2201931ce34bf7ba9f90928c864d8334
tree36202f1eb007ef1923381d77c37f358479654f6e
parentcca7c0850fa0381639bf84dd06ee900e16346373
x86: make memory_add_physaddr_to_nid depend on MEMORY_HOTPLUG

memory_add_physaddr_to_nid() is only used in the
CONFIG_MEMORY_HOTPLUG_SPARSE || CONFIG_ACPI_HOTPLUG_MEMORY case.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/srat_64.c