Home
last modified time | relevance | path

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

/arch/mips/kernel/
Dmips-cpc.c95 unsigned curr_core; in mips_cpc_lock_other() local
97 curr_core = current_cpu_data.core; in mips_cpc_lock_other()
98 spin_lock_irqsave(&per_cpu(cpc_core_lock, curr_core), in mips_cpc_lock_other()
99 per_cpu(cpc_core_lock_flags, curr_core)); in mips_cpc_lock_other()
111 unsigned curr_core = current_cpu_data.core; in mips_cpc_unlock_other() local
112 spin_unlock_irqrestore(&per_cpu(cpc_core_lock, curr_core), in mips_cpc_unlock_other()
113 per_cpu(cpc_core_lock_flags, curr_core)); in mips_cpc_unlock_other()
Dmips-cm.c264 unsigned curr_core; in mips_cm_lock_other() local
292 curr_core = current_cpu_data.core; in mips_cm_lock_other()
293 spin_lock_irqsave(&per_cpu(cm_core_lock, curr_core), in mips_cm_lock_other()
294 per_cpu(cm_core_lock_flags, curr_core)); in mips_cm_lock_other()
310 unsigned int curr_core; in mips_cm_unlock_other() local
313 curr_core = current_cpu_data.core; in mips_cm_unlock_other()
314 spin_unlock_irqrestore(&per_cpu(cm_core_lock, curr_core), in mips_cm_unlock_other()
315 per_cpu(cm_core_lock_flags, curr_core)); in mips_cm_unlock_other()