cleanup: include/: move misc/speculation.h to sys/speculation.h

move misc/speculation.h to sys/speculation.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-26 10:33:53 -04:00
commit d222553931
4 changed files with 65 additions and 50 deletions

View file

@ -27,7 +27,7 @@
#include <sys/sys_io.h>
#include <sys/__assert.h>
#include <sys/slist.h>
#include <misc/speculation.h>
#include <sys/speculation.h>
#include "gpio_utils.h"