thread.c: remove vestigial CONFIG_INIT_STACKS cruft

It looks like, at some point in the past, initializing thread stacks
was the responsibility of the arch layer. After that was centralized,
we forgot to remove the related conditional header inclusion. Fixed.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
Charles E. Youse 2019-07-30 15:55:41 -07:00 committed by Ioannis Glaropoulos
commit 8e437adc42
4 changed files with 0 additions and 14 deletions

View file

@ -16,9 +16,6 @@
#include <kernel_structs.h> #include <kernel_structs.h>
#include <offsets_short.h> #include <offsets_short.h>
#include <wait_q.h> #include <wait_q.h>
#ifdef CONFIG_INIT_STACKS
#include <string.h>
#endif /* CONFIG_INIT_STACKS */
#ifdef CONFIG_USERSPACE #ifdef CONFIG_USERSPACE
#include <arch/arc/v2/mpu/arc_core_mpu.h> #include <arch/arc/v2/mpu/arc_core_mpu.h>

View file

@ -13,10 +13,6 @@
* architecture * architecture
*/ */
#ifdef CONFIG_INIT_STACKS
#include <string.h>
#endif /* CONFIG_INIT_STACKS */
#include <toolchain.h> #include <toolchain.h>
#include <kernel_structs.h> #include <kernel_structs.h>
#include <wait_q.h> #include <wait_q.h>

View file

@ -12,10 +12,6 @@
* processor architecture. * processor architecture.
*/ */
#ifdef CONFIG_INIT_STACKS
#include <string.h>
#endif /* CONFIG_INIT_STACKS */
#include <toolchain.h> #include <toolchain.h>
#include <linker/sections.h> #include <linker/sections.h>
#include <kernel_structs.h> #include <kernel_structs.h>

View file

@ -3,9 +3,6 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#ifdef CONFIG_INIT_STACKS
#include <string.h>
#endif /* CONFIG_INIT_STACKS */
#ifdef CONFIG_DEBUG #ifdef CONFIG_DEBUG
#include <sys/printk.h> #include <sys/printk.h>
#endif #endif