diff options
author | Tejun Heo <tj@kernel.org> | 2016-10-19 12:12:40 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-10-19 12:12:40 -0400 |
commit | 8bc4a04455969c36bf54a942ad9d28d80969ed51 (patch) | |
tree | 9fb87b458122c05f77b1fba28405761bedbcac1d /include/linux/workqueue.h | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
parent | 2186d9f940b6a04f263a3bacd48f2a7ba96df4cf (diff) |
Merge branch 'for-4.9' into for-4.10
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r-- | include/linux/workqueue.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index fc6e22186405..2cddd38794b2 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
@@ -590,14 +590,6 @@ static inline bool schedule_delayed_work(struct delayed_work *dwork, | |||
590 | return queue_delayed_work(system_wq, dwork, delay); | 590 | return queue_delayed_work(system_wq, dwork, delay); |
591 | } | 591 | } |
592 | 592 | ||
593 | /** | ||
594 | * keventd_up - is workqueue initialized yet? | ||
595 | */ | ||
596 | static inline bool keventd_up(void) | ||
597 | { | ||
598 | return system_wq != NULL; | ||
599 | } | ||
600 | |||
601 | #ifndef CONFIG_SMP | 593 | #ifndef CONFIG_SMP |
602 | static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg) | 594 | static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg) |
603 | { | 595 | { |
@@ -632,4 +624,7 @@ int workqueue_online_cpu(unsigned int cpu); | |||
632 | int workqueue_offline_cpu(unsigned int cpu); | 624 | int workqueue_offline_cpu(unsigned int cpu); |
633 | #endif | 625 | #endif |
634 | 626 | ||
627 | int __init workqueue_init_early(void); | ||
628 | int __init workqueue_init(void); | ||
629 | |||
635 | #endif | 630 | #endif |