Merge commit 'v2.6.37' into sched/core
Merge reason: Merge the final .37 tree. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -265,6 +265,17 @@ int kthreadd(void *unused)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void __init_kthread_worker(struct kthread_worker *worker,
|
||||
const char *name,
|
||||
struct lock_class_key *key)
|
||||
{
|
||||
spin_lock_init(&worker->lock);
|
||||
lockdep_set_class_and_name(&worker->lock, key, name);
|
||||
INIT_LIST_HEAD(&worker->work_list);
|
||||
worker->task = NULL;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__init_kthread_worker);
|
||||
|
||||
/**
|
||||
* kthread_worker_fn - kthread function to process kthread_worker
|
||||
* @worker_ptr: pointer to initialized kthread_worker
|
||||
|
||||
Reference in New Issue
Block a user