commit | 45b585c8dcdc469bb40b58cc2801acd7a2332525 | [log] [tgz] |
---|---|---|
author | David Daney <david.daney@cavium.com> | Wed May 28 23:52:10 2014 +0200 |
committer | Ralf Baechle <ralf@linux-mips.org> | Fri May 30 21:01:11 2014 +0200 |
tree | 7aa6acb2c1085b8074cc30cee2c71d0c5335f94b | |
parent | 18a8cd63c0d800bbc8b91f03054fcb13d308f6ec [diff] |
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>