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

@ -18,7 +18,7 @@
#include <limits.h>
#include <toolchain.h>
#include <linker/sections.h>
#include <atomic.h>
#include <sys/atomic.h>
#include <misc/__assert.h>
#include <sched_priq.h>
#include <misc/dlist.h>