summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/sn/arch.h
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2020-01-09 15:33:39 +0300
committerPaul Burton <paulburton@kernel.org>2020-01-10 02:29:46 +0300
commitd6972bb477544bea3fa0124ae88fd9a9d131a213 (patch)
treea77399c1053ce89f1d037c37f73888dc182c03f0 /arch/mips/include/asm/sn/arch.h
parent2d11e6a4ff5070aa3e62e43010b2e39eea596f76 (diff)
downloadlinux-d6972bb477544bea3fa0124ae88fd9a9d131a213.tar.xz
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
Diffstat (limited to 'arch/mips/include/asm/sn/arch.h')
-rw-r--r--arch/mips/include/asm/sn/arch.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/include/asm/sn/arch.h b/arch/mips/include/asm/sn/arch.h
index f7d3273d9599..f8b34d34d872 100644
--- a/arch/mips/include/asm/sn/arch.h
+++ b/arch/mips/include/asm/sn/arch.h
@@ -26,6 +26,5 @@
#define INVALID_PARTID (partid_t)-1
extern nasid_t get_nasid(void);
-extern int get_cpu_slice(cpuid_t);
#endif /* _ASM_SN_ARCH_H */