]> git.baikalelectronics.ru Git - kernel.git/commit
arm: Use common cpu_topology structure and functions.
authorAtish Patra <atish.patra@wdc.com>
Thu, 27 Jun 2019 19:52:59 +0000 (12:52 -0700)
committerPaul Walmsley <paul.walmsley@sifive.com>
Mon, 22 Jul 2019 16:36:18 +0000 (09:36 -0700)
commit22140cb94e7ecd46697a209068b0afea6476e854
treeaa844dce33617488ae8d2699856fa1a90f1854c4
parentbc417f155352a78111b10a486d3e7814302eb8cc
arm: Use common cpu_topology structure and functions.

Currently, ARM32 and ARM64 uses different data structures to represent
their cpu topologies. Since, we are moving the ARM64 topology to common
code to be used by other architectures, we can reuse that for ARM32 as
well.

Take this opprtunity to remove the redundant functions from ARM32 and
reuse the common code instead.

To: Russell King <linux@armlinux.org.uk>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Tested-by: Sudeep Holla <sudeep.holla@arm.com> (on TC2)
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
arch/arm/include/asm/topology.h
arch/arm/kernel/topology.c
drivers/base/arch_topology.c
include/linux/arch_topology.h