Skip to content

Commit

Permalink
Zephyr: fix build breakage with Zephyr "main"
Browse files Browse the repository at this point in the history
Two new build regressions have been introduced in Zephyr's main, fix
them.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
  • Loading branch information
lyakh committed Jun 5, 2024
1 parent eb53555 commit 178ebec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zephyr/lib/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ void cpu_disable_core(int id)
return;

/* Broadcasting interrupts to other cores. */
arch_sched_ipi();
arch_sched_broadcast_ipi();

uint64_t timeout = k_cycle_get_64() +
k_ms_to_cyc_ceil64(CONFIG_SECONDARY_CORE_DISABLING_TIMEOUT);
Expand Down
2 changes: 1 addition & 1 deletion zephyr/wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ int poll_for_register_delay(uint32_t reg, uint32_t mask,
volatile int *_sof_fatal_null = NULL;

void k_sys_fatal_error_handler(unsigned int reason,
const z_arch_esf_t *esf)
const struct arch_esf *esf)
{
ARG_UNUSED(esf);

Expand Down

0 comments on commit 178ebec

Please sign in to comment.