svn commit: r352474 - stable/11/sys/compat/linuxkpi/common/include/linux
Hans Petter Selasky
hselasky at FreeBSD.org
Wed Sep 18 07:24:34 UTC 2019
Author: hselasky
Date: Wed Sep 18 07:24:33 2019
New Revision: 352474
URL: https://svnweb.freebsd.org/changeset/base/352474
Log:
MFC r352205:
Fix broken DECLARE_TASKLET() macro after r347852.
Sponsored by: Mellanox Technologies
Modified:
stable/11/sys/compat/linuxkpi/common/include/linux/interrupt.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/compat/linuxkpi/common/include/linux/interrupt.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/interrupt.h Wed Sep 18 07:22:37 2019 (r352473)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/interrupt.h Wed Sep 18 07:24:33 2019 (r352474)
@@ -194,8 +194,8 @@ struct tasklet_struct {
unsigned long data;
};
-#define DECLARE_TASKLET(name, func, data) \
-struct tasklet_struct name = { { NULL, NULL }, func, data }
+#define DECLARE_TASKLET(_name, _func, _data) \
+struct tasklet_struct _name = { .func = (_func), .data = (_data) }
#define tasklet_hi_schedule(t) tasklet_schedule(t)
More information about the svn-src-stable
mailing list