Skip to content

Commit 125a25a

Browse files
committed
schedule: ll: make ll_sch_is_current() always available
Make ll_sch_is_current() available for builds with CONFIG_COLD_STORE_EXECUTE_DEBUG unselected. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent e4c8e18 commit 125a25a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

zephyr/include/sof/lib/memory.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
#define __cold_rodata
1717
#endif
1818

19-
#if CONFIG_COLD_STORE_EXECUTE_DEBUG
20-
#include <rtos/panic.h>
21-
2219
#ifdef __ZEPHYR__
2320
bool ll_sch_is_current(void);
2421
#else
2522
#define ll_sch_is_current() false
2623
#endif
2724

25+
#if CONFIG_COLD_STORE_EXECUTE_DEBUG
26+
#include <rtos/panic.h>
27+
2828
void dbg_path_hot_start_watching(void);
2929
void dbg_path_hot_stop_watching(void);
3030
void dbg_path_hot_confirm(void);

0 commit comments

Comments
 (0)