From: Nilay Vaish Date: Mon, 27 Aug 2012 06:14:46 +0000 (-0500) Subject: System: Remove redundant call to startupCPU X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0737837109570758f86a40d11d14886a0e4965ef;p=gem5.git System: Remove redundant call to startupCPU --- diff --git a/src/sim/system.cc b/src/sim/system.cc index 8ff1de445..2dd4d41bd 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -257,9 +257,8 @@ System::numRunningContexts() void System::initState() { - int i; if (FullSystem) { - for (i = 0; i < threadContexts.size(); i++) + for (int i = 0; i < threadContexts.size(); i++) TheISA::startupCPU(threadContexts[i], i); // Moved from the constructor to here since it relies on the // address map being resolved in the interconnect @@ -278,12 +277,6 @@ System::initState() } activeCpus.clear(); - - if (!FullSystem) - return; - - for (i = 0; i < threadContexts.size(); i++) - TheISA::startupCPU(threadContexts[i], i); } void