/* Simply wakes up any task that is blocked on the trace_wait queue. These is used with trace_poll for tasks polling the trace.  */
void trace_wake_up(void)
/* Simply wakes up any task that is blocked on the trace_wait queue. These is used with trace_poll for tasks polling the trace.  */
void trace_wake_up(void)
{
	int cpu;
	if (trace_flags & TRACE_ITER_BLOCK)
		return;
	cpu = get_cpu();
	if (!runqueue_is_locked(cpu))
		wake_up(&trace_wait);
	put_cpu();
}