cpu-minor: Remove redundant thread startup call
Don't call startup() twice on each of the threads. Change-Id: Ibe3d1f25c4fdff291ee310abb9bcad3b184bab20 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/11037
This commit is contained in:
@@ -183,9 +183,6 @@ MinorCPU::startup()
|
||||
|
||||
BaseCPU::startup();
|
||||
|
||||
for (auto i = threads.begin(); i != threads.end(); i ++)
|
||||
(*i)->startup();
|
||||
|
||||
for (ThreadID tid = 0; tid < numThreads; tid++) {
|
||||
threads[tid]->startup();
|
||||
pipeline->wakeupFetch(tid);
|
||||
|
||||
Reference in New Issue
Block a user