aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/cavium-octeon/smp.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2017-08-12 19:49:38 -0700
committerRalf Baechle <ralf@linux-mips.org>2017-08-30 00:57:27 +0200
commit5616897efd1816c18231c9976a6d64392fc6cdee (patch)
tree6b9f89b76cd24cddab10ccc7c8ea5ad79065ccb6 /arch/mips/cavium-octeon/smp.c
parentMIPS: Unify checks for sibling CPUs (diff)
downloadlinux-dev-5616897efd1816c18231c9976a6d64392fc6cdee.tar.xz
linux-dev-5616897efd1816c18231c9976a6d64392fc6cdee.zip
MIPS: Add CPU cluster number accessors
Introduce cpu_cluster() & cpu_set_cluster() accessor functions in the same vein as cpu_core(), cpu_vpe_id() & their set variants. These will be used in further patches to allow users to get or set a CPUs cluster number. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/17012/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cavium-octeon/smp.c')
0 files changed, 0 insertions, 0 deletions