[MIPS] time: SMP/NUMA-proofing of IP27 HUB RT timer code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle
2007-10-22 10:34:13 +01:00
parent 508a775a3c
commit 06d428d719
2 changed files with 81 additions and 73 deletions

View File

@ -110,7 +110,7 @@ static void __init per_hub_init(cnodeid_t cnode)
}
}
void __init per_cpu_init(void)
void __cpuinit per_cpu_init(void)
{
int cpu = smp_processor_id();
int slice = LOCAL_HUB_L(PI_CPU_NUM);