mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
block: add kblockd_schedule_work_on()
Add a helper to schedule a regular struct work on a particular CPU. Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
f72b8792d1
commit
ee63cfa7fc
2 changed files with 7 additions and 1 deletions
|
|
@ -3097,6 +3097,12 @@ int kblockd_schedule_work(struct work_struct *work)
|
|||
}
|
||||
EXPORT_SYMBOL(kblockd_schedule_work);
|
||||
|
||||
int kblockd_schedule_work_on(int cpu, struct work_struct *work)
|
||||
{
|
||||
return queue_work_on(cpu, kblockd_workqueue, work);
|
||||
}
|
||||
EXPORT_SYMBOL(kblockd_schedule_work_on);
|
||||
|
||||
int kblockd_schedule_delayed_work(struct delayed_work *dwork,
|
||||
unsigned long delay)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue