diff options
Diffstat (limited to 'cpu/base_cpu.cc')
-rw-r--r-- | cpu/base_cpu.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/base_cpu.cc b/cpu/base_cpu.cc index 1077c8a51..fd91749f7 100644 --- a/cpu/base_cpu.cc +++ b/cpu/base_cpu.cc @@ -53,11 +53,11 @@ int maxThreadsPerCPU = 1; #ifdef FULL_SYSTEM BaseCPU::BaseCPU(Params *p) - : SimObject(p->name), cycleTime(p->cycleTime), checkInterrupts(true), + : SimObject(p->name), clock(p->clock), checkInterrupts(true), params(p), number_of_threads(p->numberOfThreads), system(p->system) #else BaseCPU::BaseCPU(Params *p) - : SimObject(p->name), cycleTime(p->cycleTime), params(p), + : SimObject(p->name), clock(p->clock), params(p), number_of_threads(p->numberOfThreads) #endif { |