Skip to content

Commit a000ee2

Browse files
committed
zephyr: schedule: allow user-space to access scheduler list
Make the scheduler list available to all user-space threads. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent a06a809 commit a000ee2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

zephyr/schedule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010
#include <sof/schedule/ll_schedule.h>
1111
#include <rtos/alloc.h>
1212
#include <rtos/symbol.h>
13+
#include <rtos/userspace_helper.h>
1314
#include <sof/lib/cpu.h>
1415
#include <ipc/topology.h>
1516

16-
static struct schedulers *_schedulers[CONFIG_CORE_COUNT];
17+
static APP_TASK_BSS struct schedulers *_schedulers[CONFIG_CORE_COUNT];
1718

1819
/**
1920
* Retrieves registered schedulers.

0 commit comments

Comments
 (0)