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)
commitd6972bb477544bea3fa0124ae88fd9a9d131a213
treea77399c1053ce89f1d037c37f73888dc182c03f0
parent2d11e6a4ff5070aa3e62e43010b2e39eea596f76
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