soc_per_core_init_hook() is usually called from arch_kernel_init() and arch_secondary_cpu_init() which are C functions. As such, there is no need to check for CONFIG_SOC_PER_CORE_INIT_HOOK since platform/hooks.h provides a no-op function-like macro implementation if the Kconfig option is not enabled. Remove the Kconfig option check from all files. Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com> |
||
|---|---|---|
| .. | ||
| ia32 | ||
| intel64 | ||
| cet.h | ||
| cet_asm.inc | ||
| kernel_arch_data.h | ||
| kernel_arch_func.h | ||
| offsets_short_arch.h | ||
| x86_mmu.h | ||