Changeset fc10e1b in mainline for kernel/generic/src/log/log.c
- Timestamp:
- 2018-09-07T16:34:11Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d2c91ab
- Parents:
- 508b0df1 (diff), e90cfa6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/log/log.c
r508b0df1 rfc10e1b 63 63 64 64 /** Kernel log initialized */ 65 static atomic_ t log_inited = { false };65 static atomic_bool log_inited = false; 66 66 67 67 /** Position in the cyclic buffer where the first log entry starts */ … … 94 94 { 95 95 event_set_unmask_callback(EVENT_KLOG, log_update); 96 atomic_s et(&log_inited, true);96 atomic_store(&log_inited, true); 97 97 } 98 98 … … 190 190 static void log_update(void *event) 191 191 { 192 if (!atomic_ get(&log_inited))192 if (!atomic_load(&log_inited)) 193 193 return; 194 194
Note:
See TracChangeset
for help on using the changeset viewer.