summaryrefslogtreecommitdiffstats
path: root/include/linux/topology.h
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2019-06-27 12:52:58 -0700
committerPaul Walmsley <paul.walmsley@sifive.com>2019-07-22 09:36:06 -0700
commit60c1b220d8bc6baeaf837cd60f94a331b25c26bc (patch)
treee243571528700fb1c605f80b71c8a9f401fd83c8 /include/linux/topology.h
parent124e46a86580c71e0eee8459c5da7649318118db (diff)
downloadtalos-op-linux-60c1b220d8bc6baeaf837cd60f94a331b25c26bc.tar.gz
talos-op-linux-60c1b220d8bc6baeaf837cd60f94a331b25c26bc.zip
cpu-topology: Move cpu topology code to common code.
Both RISC-V & ARM64 are using cpu-map device tree to describe their cpu topology. It's better to move the relevant code to a common place instead of duplicate code. To: Will Deacon <will.deacon@arm.com> To: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Atish Patra <atish.patra@wdc.com> [Tested on QDF2400] Tested-by: Jeffrey Hugo <jhugo@codeaurora.org> [Tested on Juno and other embedded platforms.] Tested-by: Sudeep Holla <sudeep.holla@arm.com> Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'include/linux/topology.h')
-rw-r--r--include/linux/topology.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/topology.h b/include/linux/topology.h
index 47a3e3c08036..2a19d196af28 100644
--- a/include/linux/topology.h
+++ b/include/linux/topology.h
@@ -27,6 +27,7 @@
#ifndef _LINUX_TOPOLOGY_H
#define _LINUX_TOPOLOGY_H
+#include <linux/arch_topology.h>
#include <linux/cpumask.h>
#include <linux/bitops.h>
#include <linux/mmzone.h>
OpenPOWER on IntegriCloud