diff options
| author | 2017-06-14 16:12:40 +0200 | |
|---|---|---|
| committer | 2017-06-14 16:12:40 +0200 | |
| commit | 5b45fe6b39e1d01c45de7b8e6d3ff72585eee6cf (patch) | |
| tree | 3852d1184fda955102a2d7f81cd1b54a9461f2c8 /include/linux/workqueue.h | |
| parent | fbdev: sti: don't select CONFIG_VT (diff) | |
| parent | Linux 4.12-rc5 (diff) | |
Merge tag 'v4.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into fbdev-for-next
Linux 4.12-rc5
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) { return fn(arg); } +static inline long work_on_cpu_safe(int cpu, long (*fn)(void *), void *arg) +{ + return fn(arg); +} #else long work_on_cpu(int cpu, long (*fn)(void *), void *arg); +long work_on_cpu_safe(int cpu, long (*fn)(void *), void *arg); #endif /* CONFIG_SMP */ #ifdef CONFIG_FREEZER |
