Home
last modified time | relevance | path

Searched refs:newcpu (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/arch/sh/kernel/
Dirq.c269 unsigned int newcpu = cpumask_any_and(data->affinity, in migrate_irqs() local
271 if (newcpu >= nr_cpu_ids) { in migrate_irqs()
276 newcpu = cpumask_any_and(data->affinity, in migrate_irqs()
280 route_irq(data, irq, newcpu); in migrate_irqs()
/linux-3.4.99/arch/sparc/kernel/
Dleon_kernel.c121 int oldcpu, newcpu; in leon_set_affinity() local
125 newcpu = irq_choose_cpu(dest); in leon_set_affinity()
127 if (oldcpu == newcpu) in leon_set_affinity()
134 oldmask = LEON3_BYPASS_LOAD_PA(LEON_IMASK(newcpu)); in leon_set_affinity()
135 LEON3_BYPASS_STORE_PA(LEON_IMASK(newcpu), (oldmask | mask)); in leon_set_affinity()