cleanup: include/: move misc/math_extras.h to sys/math_extras.h
move misc/math_extras.h to sys/math_extras.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>
diff --git a/kernel/msg_q.c b/kernel/msg_q.c
index ef0bf43..2ae117a 100644
--- a/kernel/msg_q.c
+++ b/kernel/msg_q.c
@@ -18,7 +18,7 @@
#include <string.h>
#include <wait_q.h>
#include <sys/dlist.h>
-#include <misc/math_extras.h>
+#include <sys/math_extras.h>
#include <init.h>
#include <syscall_handler.h>
#include <kernel_internal.h>