|
@@ -97,7 +97,7 @@ static void cmp_init_secondary(void)
|
|
|
|
|
|
/* Enable per-cpu interrupts: platform specific */
|
|
/* Enable per-cpu interrupts: platform specific */
|
|
|
|
|
|
- c->core = (read_c0_ebase() >> 1) & 0xff;
|
|
|
|
|
|
+ c->core = (read_c0_ebase() >> 1) & 0x1ff;
|
|
#if defined(CONFIG_MIPS_MT_SMP) || defined(CONFIG_MIPS_MT_SMTC)
|
|
#if defined(CONFIG_MIPS_MT_SMP) || defined(CONFIG_MIPS_MT_SMTC)
|
|
c->vpe_id = (read_c0_tcbind() >> TCBIND_CURVPE_SHIFT) & TCBIND_CURVPE;
|
|
c->vpe_id = (read_c0_tcbind() >> TCBIND_CURVPE_SHIFT) & TCBIND_CURVPE;
|
|
#endif
|
|
#endif
|