diff options
Diffstat (limited to 'include/linux/workqueue.h')
| -rw-r--r-- | include/linux/workqueue.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 13e1adf55c4c..3f363b7168c4 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
| @@ -195,6 +195,9 @@ __create_workqueue_key(const char *name, int singlethread, | |||
| 195 | #define create_freezeable_workqueue(name) __create_workqueue((name), 1, 1, 0) | 195 | #define create_freezeable_workqueue(name) __create_workqueue((name), 1, 1, 0) |
| 196 | #define create_singlethread_workqueue(name) __create_workqueue((name), 1, 0, 0) | 196 | #define create_singlethread_workqueue(name) __create_workqueue((name), 1, 0, 0) |
| 197 | 197 | ||
| 198 | extern void set_workqueue_prio(struct workqueue_struct *wq, int policy, | ||
| 199 | int rt_priority, int nice); | ||
| 200 | |||
| 198 | extern void destroy_workqueue(struct workqueue_struct *wq); | 201 | extern void destroy_workqueue(struct workqueue_struct *wq); |
| 199 | 202 | ||
| 200 | extern int queue_work(struct workqueue_struct *wq, struct work_struct *work); | 203 | extern int queue_work(struct workqueue_struct *wq, struct work_struct *work); |
