kernel: cleanup header inclusion
Remove unused header inclusion in kernel code. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
2c5d40437b
commit
8aa3dc340d
7 changed files with 2 additions and 12 deletions
|
@ -29,16 +29,15 @@
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <kernel_structs.h>
|
#include <kernel_structs.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <linker/sections.h>
|
|
||||||
#include <ksched.h>
|
#include <ksched.h>
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
#include <sys/dlist.h>
|
|
||||||
#include <debug/object_tracing_common.h>
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
#include <syscall_handler.h>
|
#include <syscall_handler.h>
|
||||||
|
#include <debug/object_tracing_common.h>
|
||||||
#include <tracing/tracing.h>
|
#include <tracing/tracing.h>
|
||||||
#include <sys/check.h>
|
#include <sys/check.h>
|
||||||
|
#include <logging/log.h>
|
||||||
LOG_MODULE_DECLARE(os);
|
LOG_MODULE_DECLARE(os);
|
||||||
|
|
||||||
/* We use a global spinlock here because some of the synchronization
|
/* We use a global spinlock here because some of the synchronization
|
||||||
|
|
|
@ -14,10 +14,8 @@
|
||||||
#include <kernel_structs.h>
|
#include <kernel_structs.h>
|
||||||
#include <debug/object_tracing_common.h>
|
#include <debug/object_tracing_common.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <linker/sections.h>
|
|
||||||
#include <ksched.h>
|
#include <ksched.h>
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
#include <sys/dlist.h>
|
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
#include <syscall_handler.h>
|
#include <syscall_handler.h>
|
||||||
#include <kernel_internal.h>
|
#include <kernel_internal.h>
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
#include <ksched.h>
|
#include <ksched.h>
|
||||||
#include <syscall_handler.h>
|
#include <syscall_handler.h>
|
||||||
#include <sys/slist.h>
|
|
||||||
#include <sys/dlist.h>
|
#include <sys/dlist.h>
|
||||||
#include <sys/util.h>
|
#include <sys/util.h>
|
||||||
#include <sys/__assert.h>
|
#include <sys/__assert.h>
|
||||||
|
|
|
@ -15,10 +15,8 @@
|
||||||
#include <kernel_structs.h>
|
#include <kernel_structs.h>
|
||||||
#include <debug/object_tracing_common.h>
|
#include <debug/object_tracing_common.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <linker/sections.h>
|
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
#include <ksched.h>
|
#include <ksched.h>
|
||||||
#include <sys/sflist.h>
|
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
#include <syscall_handler.h>
|
#include <syscall_handler.h>
|
||||||
#include <kernel_internal.h>
|
#include <kernel_internal.h>
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#include <kernel_structs.h>
|
#include <kernel_structs.h>
|
||||||
#include <debug/object_tracing_common.h>
|
#include <debug/object_tracing_common.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <linker/sections.h>
|
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
#include <sys/dlist.h>
|
#include <sys/dlist.h>
|
||||||
#include <ksched.h>
|
#include <ksched.h>
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
#include <kernel_structs.h>
|
#include <kernel_structs.h>
|
||||||
#include <debug/object_tracing_common.h>
|
#include <debug/object_tracing_common.h>
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <linker/sections.h>
|
|
||||||
#include <ksched.h>
|
#include <ksched.h>
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
#include <sys/check.h>
|
#include <sys/check.h>
|
||||||
|
|
|
@ -15,10 +15,8 @@
|
||||||
#include <spinlock.h>
|
#include <spinlock.h>
|
||||||
#include <sys/math_extras.h>
|
#include <sys/math_extras.h>
|
||||||
#include <sys_clock.h>
|
#include <sys_clock.h>
|
||||||
#include <drivers/timer/system_timer.h>
|
|
||||||
#include <ksched.h>
|
#include <ksched.h>
|
||||||
#include <wait_q.h>
|
#include <wait_q.h>
|
||||||
#include <sys/atomic.h>
|
|
||||||
#include <syscall_handler.h>
|
#include <syscall_handler.h>
|
||||||
#include <kernel_internal.h>
|
#include <kernel_internal.h>
|
||||||
#include <kswap.h>
|
#include <kswap.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue