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

@ -10,7 +10,7 @@
#include <zephyr.h>
#include <logging/log_backend.h>
#include <logging/log_output.h>
#include <atomic.h>
#include <sys/atomic.h>
#ifdef __cplusplus
extern "C" {
#endif

View file

@ -9,7 +9,7 @@
#include <shell/shell.h>
#include <ring_buffer.h>
#include <atomic.h>
#include <sys/atomic.h>
#ifdef CONFIG_MCUMGR_SMP_SHELL
#include "mgmt/smp_shell.h"
#endif