|
@@ -358,8 +358,6 @@ extern struct workqueue_struct *system_freezable_wq;
|
|
extern struct workqueue_struct *system_power_efficient_wq;
|
|
extern struct workqueue_struct *system_power_efficient_wq;
|
|
extern struct workqueue_struct *system_freezable_power_efficient_wq;
|
|
extern struct workqueue_struct *system_freezable_power_efficient_wq;
|
|
|
|
|
|
-extern bool wq_online;
|
|
|
|
-
|
|
|
|
extern struct workqueue_struct *
|
|
extern struct workqueue_struct *
|
|
__alloc_workqueue_key(const char *fmt, unsigned int flags, int max_active,
|
|
__alloc_workqueue_key(const char *fmt, unsigned int flags, int max_active,
|
|
struct lock_class_key *key, const char *lock_name, ...) __printf(1, 6);
|
|
struct lock_class_key *key, const char *lock_name, ...) __printf(1, 6);
|
|
@@ -591,14 +589,6 @@ static inline bool schedule_delayed_work(struct delayed_work *dwork,
|
|
return queue_delayed_work(system_wq, dwork, delay);
|
|
return queue_delayed_work(system_wq, dwork, delay);
|
|
}
|
|
}
|
|
|
|
|
|
-/**
|
|
|
|
- * keventd_up - is workqueue initialized yet?
|
|
|
|
- */
|
|
|
|
-static inline bool keventd_up(void)
|
|
|
|
-{
|
|
|
|
- return wq_online;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
#ifndef CONFIG_SMP
|
|
#ifndef CONFIG_SMP
|
|
static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg)
|
|
static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg)
|
|
{
|
|
{
|