summaryrefslogtreecommitdiffstats
path: root/src/include/kernel
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2011-04-13 09:57:18 -0500
committerALWOOD P. WILLIAMS III <iawillia@us.ibm.com>2011-04-14 15:38:37 -0500
commit8fe70e715d58a8b066c19160e196821742b91bc8 (patch)
tree046df8612b4e10c0f7c8d2cbe8ea8542ed6c04a7 /src/include/kernel
parentc0776eaa0548fc3ddec21e3113539198fa1cf875 (diff)
downloadtalos-hostboot-8fe70e715d58a8b066c19160e196821742b91bc8.tar.gz
talos-hostboot-8fe70e715d58a8b066c19160e196821742b91bc8.zip
Add per CPU sleep queues.
Change-Id: If4e9137c860d177a9bccf8f2fc27808a84cdb4db Reviewed-on: http://localhost:8080/gerrit/1 Tested-by: Jenkins Server Reviewed-by: ALWOOD P. WILLIAMS III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/kernel')
-rw-r--r--src/include/kernel/timemgr.H8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/kernel/timemgr.H b/src/include/kernel/timemgr.H
index acd4361c2..158825da6 100644
--- a/src/include/kernel/timemgr.H
+++ b/src/include/kernel/timemgr.H
@@ -2,6 +2,7 @@
#define __KERNEL_TIMEMGR_H
#include <kernel/types.h>
+#include <kernel/cpu.H>
#include <arch/ppc.H>
#include <util/locked/pqueue.H>
@@ -42,8 +43,7 @@ class TimeManager
static void checkReleaseTasks(Scheduler* s);
protected:
- TimeManager() :
- iv_taskList() {};
+ TimeManager() {};
~TimeManager() {};
private:
@@ -51,8 +51,8 @@ class TimeManager
void _delayTask(task_t* t, uint64_t i_sec, uint64_t i_nsec);
void _checkReleaseTasks(Scheduler* s);
- Util::Locked::PQueue<_TimeManager_Delay_t, uint64_t,
- true, Spinlock> iv_taskList;
+ Util::Locked::PQueue<_TimeManager_Delay_t, uint64_t>
+ iv_taskList[KERNEL_MAX_SUPPORTED_CPUS];
static uint64_t iv_timebaseFreq;
};
OpenPOWER on IntegriCloud