/* This waits to be signaled for completion of a specific task. It can be interrupted by a kill signal.  */
int __sched wait_for_completion_killable(struct completion *x)
/* This waits to be signaled for completion of a specific task. It can be interrupted by a kill signal.  */
int __sched wait_for_completion_killable(struct completion *x)
{
	long t = wait_for_common(x, MAX_SCHEDULE_TIMEOUT, TASK_KILLABLE);
	if (t == -ERESTARTSYS)
		return t;
	return 0;
}