/* This waits for completion of a specific task to be signaled. It is interruptible.  */
int __sched wait_for_completion_interruptible(struct completion *x)
/* This waits for completion of a specific task to be signaled. It is interruptible.  */
int __sched wait_for_completion_interruptible(struct completion *x)
{
	long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_INTERRUPTIBLE);
	if (t == -ERESTARTSYS)
		return t;
	return 0;
}