]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - kernel/kthread.c
drm/radeon: use pfp for all vm_flush related updates
[mirror_ubuntu-artful-kernel.git] / kernel / kthread.c
index c2390f41307bca58cdd9b14bb9530d8a16c20e6c..ef483220e85564670600c9a3951e66fe20672bed 100644 (file)
@@ -591,7 +591,7 @@ static void insert_kthread_work(struct kthread_worker *worker,
 
        list_add_tail(&work->node, pos);
        work->worker = worker;
-       if (likely(worker->task))
+       if (!worker->current_work && likely(worker->task))
                wake_up_process(worker->task);
 }