diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-29 22:54:21 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-29 22:54:21 -0400 |
| commit | d8f797c60661a90ee26ca9330cf85ede9aa2ec17 (patch) | |
| tree | 5038609885fc3e4cb7f329d974875ac4411c6af5 /include/linux/workqueue.h | |
| parent | 8fd708157a592a376c4d0b3b2ba23b9e9f79caa5 (diff) | |
| parent | 5ed02dbb497422bf225783f46e6eadd237d23d6b (diff) | |
Merge tag 'v4.12-rc3' into next
Sync with mainline to bring in changes in platform drovers dropping
calls to sparse_keymap_free() so that we can remove it for good.
Diffstat (limited to 'include/linux/workqueue.h')
| -rw-r--r-- | include/linux/workqueue.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index bde063cefd04..c102ef65cb64 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
| @@ -608,8 +608,13 @@ static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg) | |||
| 608 | { | 608 | { |
| 609 | return fn(arg); | 609 | return fn(arg); |
| 610 | } | 610 | } |
| 611 | static inline long work_on_cpu_safe(int cpu, long (*fn)(void *), void *arg) | ||
| 612 | { | ||
| 613 | return fn(arg); | ||
| 614 | } | ||
| 611 | #else | 615 | #else |
| 612 | long work_on_cpu(int cpu, long (*fn)(void *), void *arg); | 616 | long work_on_cpu(int cpu, long (*fn)(void *), void *arg); |
| 617 | long work_on_cpu_safe(int cpu, long (*fn)(void *), void *arg); | ||
| 613 | #endif /* CONFIG_SMP */ | 618 | #endif /* CONFIG_SMP */ |
| 614 | 619 | ||
| 615 | #ifdef CONFIG_FREEZER | 620 | #ifdef CONFIG_FREEZER |
