summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/topology.h
diff options
context:
space:
mode:
authorSudeep Holla2018-07-06 13:02:47 +0200
committerWill Deacon2018-07-06 14:18:18 +0200
commitf70ff1271378b12570aa3c4ebe2ad07f35a4ec51 (patch)
treeb0318fb0cf290ad424d31d9be539f71c681913ab /arch/arm64/include/asm/topology.h
parentarm64: smp: remove cpu and numa topology information when hotplugging out CPU (diff)
downloadkernel-qcow2-linux-f70ff1271378b12570aa3c4ebe2ad07f35a4ec51.tar.gz
kernel-qcow2-linux-f70ff1271378b12570aa3c4ebe2ad07f35a4ec51.tar.xz
kernel-qcow2-linux-f70ff1271378b12570aa3c4ebe2ad07f35a4ec51.zip
arm64: topology: rename llc_siblings to align with other struct members
Similar to core_sibling and thread_sibling, it's better to align and rename llc_siblings to llc_sibling. Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Tested-by: Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com> Tested-by: Hanjun Guo <hanjun.guo@linaro.org> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/topology.h')
-rw-r--r--arch/arm64/include/asm/topology.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/topology.h b/arch/arm64/include/asm/topology.h
index 4c073d28f9e4..49a0fee4f89b 100644
--- a/arch/arm64/include/asm/topology.h
+++ b/arch/arm64/include/asm/topology.h
@@ -11,7 +11,7 @@ struct cpu_topology {
int llc_id;
cpumask_t thread_sibling;
cpumask_t core_sibling;
- cpumask_t llc_siblings;
+ cpumask_t llc_sibling;
};
extern struct cpu_topology cpu_topology[NR_CPUS];
@@ -20,7 +20,7 @@ extern struct cpu_topology cpu_topology[NR_CPUS];
#define topology_core_id(cpu) (cpu_topology[cpu].core_id)
#define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_sibling)
#define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_sibling)
-#define topology_llc_cpumask(cpu) (&cpu_topology[cpu].llc_siblings)
+#define topology_llc_cpumask(cpu) (&cpu_topology[cpu].llc_sibling)
void init_cpu_topology(void);
void store_cpu_topology(unsigned int cpuid);