mirror of
https://github.com/sysprog21/lkmpg.git
synced 2025-03-13 14:05:10 +08:00
Merge pull request #239 from mechanicalamit/sched_workqueue_patches
Replace schedule_work with queue_work
This commit is contained in:
commit
c81fdd323c
@ -17,7 +17,7 @@ static int __init sched_init(void)
|
||||
{
|
||||
queue = alloc_workqueue("HELLOWORLD", WQ_UNBOUND, 1);
|
||||
INIT_WORK(&work, work_handler);
|
||||
schedule_work(&work);
|
||||
queue_work(queue, &work);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user