]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arch, ia64: Make NUMA select SMP
authorMatt Fleming <matt@codeblueprint.co.uk>
Thu, 8 Aug 2019 19:53:00 +0000 (20:53 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 3 Sep 2019 07:17:36 +0000 (09:17 +0200)
While it does make sense to allow CONFIG_NUMA and !CONFIG_SMP in
theory, it doesn't make much sense in practice.

Follow other architectures and make CONFIG_NUMA select CONFIG_SMP.

The motivation for this patch is to allow a new NUMA variable to be
initialised in kernel/sched/topology.c.

Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@surriel.com>
Cc: Suravee.Suthikulpanit@amd.com
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Thomas.Lendacky@amd.com
Cc: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20190808195301.13222-2-matt@codeblueprint.co.uk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/ia64/Kconfig

index 7468d8e504672a711e34a09984f2601f0cad6b1b..997baba02b70e7e427511c324e4f8cb9dae5fef9 100644 (file)
@@ -389,6 +389,7 @@ config NUMA
        depends on !IA64_HP_SIM && !FLATMEM
        default y if IA64_SGI_SN2
        select ACPI_NUMA if ACPI
+       select SMP
        help
          Say Y to compile the kernel to support NUMA (Non-Uniform Memory
          Access).  This option is for configuring high-end multiprocessor