summaryrefslogtreecommitdiffstats
path: root/drivers/base/Kconfig
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2020-11-18 16:38:26 -0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-01-14 15:08:55 -0800
commitae3c107cd8bea82cb7cb427d9c5d305b8ce72216 (patch)
tree5063ffc33a2ba9198bc570feee0d174ad4bec12b /drivers/base/Kconfig
parenteb75541f8b4535cf22e22cd2e60734866868e818 (diff)
downloadlinux-ae3c107cd8bea82cb7cb427d9c5d305b8ce72216.tar.gz
linux-ae3c107cd8bea82cb7cb427d9c5d305b8ce72216.tar.bz2
linux-ae3c107cd8bea82cb7cb427d9c5d305b8ce72216.zip
numa: Move numa implementation to common code
ARM64 numa implementation is generic enough that RISC-V can reuse that implementation with very minor cosmetic changes. This will help both ARM64 and RISC-V in terms of maintanace and feature improvement Move the numa implementation code to common directory so that both ISAs can reuse this. This doesn't introduce any function changes for ARM64. Signed-off-by: Atish Patra <atish.patra@wdc.com> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Tested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'drivers/base/Kconfig')
-rw-r--r--drivers/base/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index 040be48ce046..dbd88e2be88a 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -213,4 +213,10 @@ config GENERIC_ARCH_TOPOLOGY
appropriate scaling, sysfs interface for reading capacity values at
runtime.
+config GENERIC_ARCH_NUMA
+ bool
+ help
+ Enable support for generic NUMA implementation. Currently, RISC-V
+ and ARM64 use it.
+
endmenu