Home
last modified time | relevance | path

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

/arch/powerpc/xmon/
Dxmon.c296 static int xmon_speaker; variable
304 if (xmon_speaker == me) in get_output_lock()
307 if (xmon_speaker == 0) { in get_output_lock()
308 last_speaker = cmpxchg(&xmon_speaker, 0, me); in get_output_lock()
313 while (xmon_speaker == last_speaker) { in get_output_lock()
317 prev = cmpxchg(&xmon_speaker, last_speaker, me); in get_output_lock()
327 xmon_speaker = 0; in release_output_lock()