mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix broken DECLARE_TASKLET() macro after r347852.
MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
96c81c97e4
commit
6575da5eef
1 changed files with 2 additions and 2 deletions
|
|
@ -197,8 +197,8 @@ struct tasklet_struct {
|
|||
unsigned long data;
|
||||
};
|
||||
|
||||
#define DECLARE_TASKLET(name, func, data) \
|
||||
struct tasklet_struct name = { { NULL, NULL }, func, ATOMIC_INIT(0), data }
|
||||
#define DECLARE_TASKLET(_name, _func, _data) \
|
||||
struct tasklet_struct _name = { .func = (_func), .data = (_data) }
|
||||
|
||||
#define tasklet_hi_schedule(t) tasklet_schedule(t)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue