18 static void msmtc_send_ipi_single(
int cpu,
unsigned int action)
29 msmtc_send_ipi_single(i, action);
35 static
void __cpuinit msmtc_init_secondary(
void)
64 static void __cpuinit msmtc_smp_finish(
void)
73 static void msmtc_cpus_done(
void)
84 static void __init msmtc_smp_setup(
void)
94 static void __init msmtc_prepare_cpus(
unsigned int max_cpus)
100 .send_ipi_single = msmtc_send_ipi_single,
101 .send_ipi_mask = msmtc_send_ipi_mask,
102 .init_secondary = msmtc_init_secondary,
103 .smp_finish = msmtc_smp_finish,
104 .cpus_done = msmtc_cpus_done,
105 .boot_secondary = msmtc_boot_secondary,
106 .smp_setup = msmtc_smp_setup,
107 .prepare_cpus = msmtc_prepare_cpus,
110 #ifdef CONFIG_MIPS_MT_SMTC_IRQAFF
121 void smtc_set_irq_affinity(
unsigned int irq,
cpumask_t aff);
142 cpumask_copy(&tmask, affinity);
155 "IRQ affinity leaves no legal CPU for IRQ %d\n", d->
irq);
158 smtc_set_irq_affinity(d->
irq, tmask);