Skip to content
Commit 5616897e authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle
Browse files

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: default avatarPaul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17012/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent fe7a38c6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment