/* This cannot happen asynchronously, so we only need to worry about other CPU's.  */
void __lockfunc _lock_kernel(const char *func, const char *file, int line)
/* This cannot happen asynchronously, so we only need to worry about other CPU's.  */
void __lockfunc _lock_kernel(const char *func, const char *file, int line)
{
	int depth = current->lock_depth + 1;
	trace_lock_kernel(func, file, line);
	if (likely(!depth)) {
		might_sleep();
		__lock_kernel();
	}
	current->lock_depth = depth;
}