scheduler: allocate scheduler context in system heap.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
Liam Girdwood 2017-06-09 17:58:49 +01:00
parent 9e8b23d548
commit c3153812b9
1 changed files with 1 additions and 1 deletions

View File

@ -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;