mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
d31f9e6489
Remember CPU speed while scanning for available CPUs to avoid looking it up a second time when printing CPU speed. 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
21 lines
605 B
C
21 lines
605 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#ifndef __IP27_COMMON_H
|
|
#define __IP27_COMMON_H
|
|
|
|
extern nasid_t master_nasid;
|
|
|
|
extern void cpu_node_probe(void);
|
|
extern void hub_rt_clock_event_init(void);
|
|
extern void hub_rtc_init(nasid_t nasid);
|
|
extern void install_cpu_nmi_handler(int slice);
|
|
extern void install_ipi(void);
|
|
extern void ip27_reboot_setup(void);
|
|
extern const struct plat_smp_ops ip27_smp_ops;
|
|
extern unsigned long node_getfirstfree(nasid_t nasid);
|
|
extern void per_cpu_init(void);
|
|
extern void replicate_kernel_text(void);
|
|
extern void setup_replication_mask(void);
|
|
|
|
#endif /* __IP27_COMMON_H */
|