diff --git a/soc/intel/intel_adsp/ace/power.c b/soc/intel/intel_adsp/ace/power.c index 02646e1614..2a5712d9cb 100644 --- a/soc/intel/intel_adsp/ace/power.c +++ b/soc/intel/intel_adsp/ace/power.c @@ -179,7 +179,7 @@ void power_gate_entry(uint32_t core_id) z_xt_ints_off(0xffffffff); } -void power_gate_exit(void) +static void __used power_gate_exit(void) { cpu_early_init(); sys_cache_data_flush_and_invd_all(); diff --git a/soc/intel/intel_adsp/cavs/power.c b/soc/intel/intel_adsp/cavs/power.c index 704d7aa9d3..fa4616e4ba 100644 --- a/soc/intel/intel_adsp/cavs/power.c +++ b/soc/intel/intel_adsp/cavs/power.c @@ -99,7 +99,7 @@ static ALWAYS_INLINE void _restore_core_context(void) __asm__ volatile("rsync"); } -void power_gate_exit(void) +static void __used power_gate_exit(void) { cpu_early_init(); sys_cache_data_flush_and_invd_all(); diff --git a/soc/intel/intel_adsp/common/multiprocessing.c b/soc/intel/intel_adsp/common/multiprocessing.c index 79d7d1883e..cf33ad990e 100644 --- a/soc/intel/intel_adsp/common/multiprocessing.c +++ b/soc/intel/intel_adsp/common/multiprocessing.c @@ -96,7 +96,7 @@ __asm__(".section .text.z_soc_mp_asm_entry, \"x\" \n\t" #undef NOP32 #undef NOP4 -__imr void z_mp_entry(void) +static __imr void __used z_mp_entry(void) { cpu_early_init(); /* Set up the CPU pointer. */