diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-03-10 11:04:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-10 11:04:41 +0200 |
| commit | 5e6f90eec5fabdcad6b4e1ac544a136f8b889907 (patch) | |
| tree | 2e8b480d341b24b75379ba6538a83bfdba40197e /lib/thread.h | |
| parent | b58b399c5b35326880482685187ac49667ab9b8a (diff) | |
| parent | 44a5e50763c3d594fc902cdc3bcf564912e8e5ee (diff) | |
Merge pull request #8221 from mjstapp/fix_thread_xref_event
lib: use correct type in add_event xref
Diffstat (limited to 'lib/thread.h')
| -rw-r--r-- | lib/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.h b/lib/thread.h index 1777a6b6f7..cdef531ad4 100644 --- a/lib/thread.h +++ b/lib/thread.h @@ -185,7 +185,7 @@ struct cpu_thread_history { #define thread_add_timer(m,f,a,v,t) _xref_t_a(timer, TIMER, m,f,a,v,t) #define thread_add_timer_msec(m,f,a,v,t) _xref_t_a(timer_msec, TIMER, m,f,a,v,t) #define thread_add_timer_tv(m,f,a,v,t) _xref_t_a(timer_tv, TIMER, m,f,a,v,t) -#define thread_add_event(m,f,a,v,t) _xref_t_a(event, TIMER, m,f,a,v,t) +#define thread_add_event(m,f,a,v,t) _xref_t_a(event, EVENT, m,f,a,v,t) #define thread_execute(m,f,a,v) \ ({ \ |
