mirror of https://github.com/thesofproject/sof.git
scheduler: allocate scheduler context in system heap.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
9e8b23d548
commit
c3153812b9
|
@ -206,7 +206,7 @@ int scheduler_init(struct reef *reef)
|
|||
{
|
||||
trace_pipe("ScI");
|
||||
|
||||
sch = rzalloc(RZONE_RUNTIME, RFLAGS_NONE, sizeof(*sch));
|
||||
sch = rzalloc(RZONE_SYS, RFLAGS_NONE, sizeof(*sch));
|
||||
list_init(&sch->list);
|
||||
spinlock_init(&sch->lock);
|
||||
sch->clock = PLATFORM_SCHED_CLOCK;
|
||||
|
|
Loading…
Reference in New Issue