aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2019-08-17 03:00:58 +0000
committerConrad Meyer <cem@FreeBSD.org>2019-08-17 03:00:58 +0000
commit419fe172c2d611146de69e10609c3bcaabc4b6bd (patch)
tree11a806252726ea7b7f5137129c0dc9213607a981 /sys/compat/linuxkpi/common/include
parent2bc9c25782aed3b1bbca8b617b161a56fbaa9009 (diff)
Notes
Diffstat (limited to 'sys/compat/linuxkpi/common/include')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/workqueue.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/workqueue.h b/sys/compat/linuxkpi/common/include/linux/workqueue.h
index 8a9fbace3a07..dfd09d5738ae 100644
--- a/sys/compat/linuxkpi/common/include/linux/workqueue.h
+++ b/sys/compat/linuxkpi/common/include/linux/workqueue.h
@@ -91,11 +91,12 @@ struct delayed_work {
#define DECLARE_DELAYED_WORK(name, fn) \
struct delayed_work name; \
- static void name##_init(void *arg) \
+ static void __linux_delayed_ ## name ## _init(void *arg) \
{ \
linux_init_delayed_work(&name, fn); \
} \
- SYSINIT(name, SI_SUB_LOCK, SI_ORDER_SECOND, name##_init, NULL)
+ SYSINIT(name, SI_SUB_LOCK, SI_ORDER_SECOND, \
+ __linux_delayed_ ## name##_init, NULL)
static inline struct delayed_work *
to_delayed_work(struct work_struct *work)