summaryrefslogtreecommitdiffstats
path: root/src/kernel/cpumgr.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/cpumgr.C')
-rw-r--r--src/kernel/cpumgr.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/cpumgr.C b/src/kernel/cpumgr.C
index 6855bfc1e..d43b28ca8 100644
--- a/src/kernel/cpumgr.C
+++ b/src/kernel/cpumgr.C
@@ -45,7 +45,7 @@ void CpuManager::startCPU(ssize_t i)
// Initialize CPU.
cpu->cpu = i;
- cpu->scheduler = new Scheduler();
+ cpu->scheduler = new Scheduler(cpu);
cpu->kernel_stack =
(void*) (((uint64_t)PageManager::allocatePage(4)) + 16320);
OpenPOWER on IntegriCloud