]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: SGI-IP27: use cpu physid already present while scanning for CPUs
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Thu, 9 Jan 2020 12:33:39 +0000 (13:33 +0100)
committerPaul Burton <paulburton@kernel.org>
Thu, 9 Jan 2020 23:29:46 +0000 (15:29 -0800)
commit1bf1c38fb3be7dd07284cf6872aeed6bfbc89914
treea77399c1053ce89f1d037c37f73888dc182c03f0
parent9b7034ebd61561841455c6c861de3af9e4625c54
MIPS: SGI-IP27: use cpu physid already present while scanning for CPUs

By using cpu physid already present when scanning for CPUs
get_cpu_slice() is unsued and can be removed together with two
other then used functions.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/include/asm/sn/arch.h
arch/mips/include/asm/sn/klconfig.h
arch/mips/sgi-ip27/ip27-klconfig.c
arch/mips/sgi-ip27/ip27-smp.c