• David Hildenbrand's avatar
    mm/memory_hotplug: remove CONFIG_X86_64_ACPI_NUMA dependency from CONFIG_MEMORY_HOTPLUG · 71b6f2dd
    David Hildenbrand authored
    Patch series "mm/memory_hotplug: Kconfig and 32 bit cleanups".
    
    Some cleanups around CONFIG_MEMORY_HOTPLUG, including removing 32 bit
    leftovers of memory hotplug support.
    
    This patch (of 6):
    
    SPARSEMEM is the only possible memory model for x86-64, FLATMEM is not
    possible:
    
    	config ARCH_FLATMEM_ENABLE
    		def_bool y
    		depends on X86_32 && !NUMA
    
    And X86_64_ACPI_NUMA (obviously) only supports x86-64:
    
    	config X86_64_ACPI_NUMA
    		def_bool y
    		depends on X86_64 && NUMA && ACPI && PCI
    
    Let's just remove the CONFIG_X86_64_ACPI_NUMA dependency, as it does no
    longer make sense.
    
    Link: https://lkml.kernel.org/r/20210929143600.49379-2-david@redhat.comSigned-off-by: default avatarDavid Hildenbrand <david@redhat.com>
    Reviewed-by: default avatarOscar Salvador <osalvador@suse.de>
    Cc: Jonathan Corbet <corbet@lwn.net>
    Cc: Alex Shi <alexs@kernel.org>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Dave Hansen <dave.hansen@linux.intel.com>
    Cc: Andy Lutomirski <luto@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: "Rafael J. Wysocki" <rafael@kernel.org>
    Cc: "Michael S. Tsirkin" <mst@redhat.com>
    Cc: Jason Wang <jasowang@redhat.com>
    Cc: Shuah Khan <shuah@kernel.org>
    Cc: Michal Hocko <mhocko@suse.com>
    Cc: Mike Rapoport <rppt@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    71b6f2dd
Kconfig 28.3 KB