]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitca74b316df96d7c40ee3e8301065607c11c60c27
treeaa844dce33617488ae8d2699856fa1a90f1854c4
parent60c1b220d8bc6baeaf837cd60f94a331b25c26bc
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