commit | 3cd702010f82b85618e3a3260ed1e4232e89be5d | [log] [tgz] |
---|---|---|
author | Allan Stephens <allan.stephens@windriver.com> | Wed Nov 09 13:45:02 2016 -0600 |
committer | Anas Nashif <nashif@linux.intel.com> | Fri Nov 11 22:13:30 2016 +0000 |
tree | 65a85dbec66e0d73f262a9082b214b1d4cb129c6 | |
parent | dd6f9ca9de1bf20844835fa549cedb06a08369a7 [diff] |
kernel: Fix bug in dynamic alert initialization k_alert_init() needs to set the "flags" field of its associated work item to zero, indicating that the work item has not yet been submitted to the system workqueue. Using the standard work item initializer macro ensures this is done correctly. Change-Id: I0001a5920f20fb1d8dc182191e6a549c5bf89be5 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>