Home
last modified time | relevance | path

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

/arch/powerpc/lib/
Dlocks.c23 unsigned int lock_value, holder_cpu, yield_count; in splpar_spin_yield() local
28 holder_cpu = lock_value & 0xffff; in splpar_spin_yield()
29 BUG_ON(holder_cpu >= NR_CPUS); in splpar_spin_yield()
31 yield_count = yield_count_of(holder_cpu); in splpar_spin_yield()
37 yield_to_preempted(holder_cpu, yield_count); in splpar_spin_yield()
49 unsigned int holder_cpu, yield_count; in splpar_rw_yield() local
54 holder_cpu = lock_value & 0xffff; in splpar_rw_yield()
55 BUG_ON(holder_cpu >= NR_CPUS); in splpar_rw_yield()
57 yield_count = yield_count_of(holder_cpu); in splpar_rw_yield()
63 yield_to_preempted(holder_cpu, yield_count); in splpar_rw_yield()