diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/workqueue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 5bd030f630a9..899be6636d20 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
@@ -435,7 +435,7 @@ extern bool cancel_delayed_work_sync(struct delayed_work *dwork); | |||
435 | 435 | ||
436 | extern void workqueue_set_max_active(struct workqueue_struct *wq, | 436 | extern void workqueue_set_max_active(struct workqueue_struct *wq, |
437 | int max_active); | 437 | int max_active); |
438 | extern bool workqueue_congested(unsigned int cpu, struct workqueue_struct *wq); | 438 | extern bool workqueue_congested(int cpu, struct workqueue_struct *wq); |
439 | extern unsigned int work_busy(struct work_struct *work); | 439 | extern unsigned int work_busy(struct work_struct *work); |
440 | 440 | ||
441 | /* | 441 | /* |
@@ -466,12 +466,12 @@ static inline bool __deprecated flush_delayed_work_sync(struct delayed_work *dwo | |||
466 | } | 466 | } |
467 | 467 | ||
468 | #ifndef CONFIG_SMP | 468 | #ifndef CONFIG_SMP |
469 | static inline long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg) | 469 | static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg) |
470 | { | 470 | { |
471 | return fn(arg); | 471 | return fn(arg); |
472 | } | 472 | } |
473 | #else | 473 | #else |
474 | long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg); | 474 | long work_on_cpu(int cpu, long (*fn)(void *), void *arg); |
475 | #endif /* CONFIG_SMP */ | 475 | #endif /* CONFIG_SMP */ |
476 | 476 | ||
477 | #ifdef CONFIG_FREEZER | 477 | #ifdef CONFIG_FREEZER |