MIPS: SGI-IP27: Store cpu speed when scanning for CPUs and use it later
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
This commit is contained in:

committed by
Paul Burton

parent
78691e4f17
commit
d31f9e6489
@@ -83,7 +83,8 @@ void per_cpu_init(void)
|
||||
|
||||
per_hub_init(nasid);
|
||||
|
||||
cpu_time_init();
|
||||
pr_info("CPU %d clock is %dMHz.\n", cpu, sn_cpu_info[cpu].p_speed);
|
||||
|
||||
install_ipi();
|
||||
|
||||
/* Install our NMI handler if symmon hasn't installed one. */
|
||||
|
Reference in New Issue
Block a user