Home
last modified time | relevance | path

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

/arch/mips/kernel/
Dmips-cpc.c82 unsigned int curr_core; in mips_cpc_lock_other() local
89 curr_core = current_cpu_data.core; in mips_cpc_lock_other()
90 spin_lock_irqsave(&per_cpu(cpc_core_lock, curr_core), in mips_cpc_lock_other()
91 per_cpu(cpc_core_lock_flags, curr_core)); in mips_cpc_lock_other()
103 unsigned int curr_core; in mips_cpc_unlock_other() local
109 curr_core = current_cpu_data.core; in mips_cpc_unlock_other()
110 spin_unlock_irqrestore(&per_cpu(cpc_core_lock, curr_core), in mips_cpc_unlock_other()
111 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
268 curr_core = current_cpu_data.core; in mips_cm_lock_other()
269 spin_lock_irqsave(&per_cpu(cm_core_lock, curr_core), in mips_cm_lock_other()
270 per_cpu(cm_core_lock_flags, curr_core)); in mips_cm_lock_other()
291 unsigned curr_core = current_cpu_data.core; in mips_cm_unlock_other() local
293 spin_unlock_irqrestore(&per_cpu(cm_core_lock, curr_core), in mips_cm_unlock_other()
294 per_cpu(cm_core_lock_flags, curr_core)); in mips_cm_unlock_other()