cleanup: include/: move atomic.h to sys/atomic.h

move atomic.h to sys/atomic.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-25 12:25:32 -04:00
commit e1e05a2eac
59 changed files with 531 additions and 516 deletions

View file

@ -7,7 +7,7 @@
#define ZEPHYR_INCLUDE_LOGGING_LOG_MSG_H_
#include <kernel.h>
#include <atomic.h>
#include <sys/atomic.h>
#include <assert.h>
#include <string.h>