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
This commit is contained in:

committed by
Paul Burton

parent
2d11e6a4ff
commit
d6972bb477
@@ -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 */
|
||||
|
@@ -889,10 +889,6 @@ typedef union {
|
||||
extern lboard_t *find_lboard(lboard_t *start, unsigned char type);
|
||||
extern klinfo_t *find_component(lboard_t *brd, klinfo_t *kli, unsigned char type);
|
||||
extern klinfo_t *find_first_component(lboard_t *brd, unsigned char type);
|
||||
extern klcpu_t *nasid_slice_to_cpuinfo(nasid_t, int);
|
||||
extern lboard_t *find_lboard_class(lboard_t *start, unsigned char brd_class);
|
||||
|
||||
|
||||
extern klcpu_t *sn_get_cpuinfo(cpuid_t cpu);
|
||||
|
||||
#endif /* _ASM_SN_KLCONFIG_H */
|
||||
|
Reference in New Issue
Block a user