]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Add function get_ebase_cpunum
authorDavid Daney <david.daney@cavium.com>
Wed, 28 May 2014 21:52:10 +0000 (23:52 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 May 2014 19:01:11 +0000 (21:01 +0200)
commit6982b7d4071edaec80a1483a24676c89b8533dd3
tree7aa6acb2c1085b8074cc30cee2c71d0c5335f94b
parent47e77e7a50f89adb51f344701178a62a1c46eeae
MIPS: Add function get_ebase_cpunum

This returns the CPUNum from the low order Ebase bits.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Cc: James Hogan <james.hogan@imgtec.com>
Cc: kvm@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7012/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mipsregs.h
arch/mips/kernel/cpu-probe.c