Skip to content

Commit 38c802f

Browse files
lyakhkv2019i
authored andcommitted
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 4e0105d commit 38c802f

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
@@ -17,15 +17,15 @@
1717
#define __cold_rodata
1818
#endif
1919

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

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

0 commit comments

Comments
 (0)