mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Merge "ion: Use kthread_run for ion heap pool kworker threads"
This commit is contained in:
commit
bfaa5be36f
1 changed files with 2 additions and 2 deletions
|
|
@ -670,8 +670,8 @@ static struct task_struct *ion_create_kworker(struct ion_page_pool **pools,
|
|||
attr.sched_nice = ION_KTHREAD_NICE_VAL;
|
||||
buf = cached ? "cached" : "uncached";
|
||||
|
||||
thread = kthread_create(ion_sys_heap_worker, pools,
|
||||
"ion-pool-%s-worker", buf);
|
||||
thread = kthread_run(ion_sys_heap_worker, pools,
|
||||
"ion-pool-%s-worker", buf);
|
||||
if (IS_ERR(thread)) {
|
||||
pr_err("%s: failed to create %s worker thread: %ld\n",
|
||||
__func__, buf, PTR_ERR(thread));
|
||||
|
|
|
|||
Loading…
Reference in a new issue