summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-08-21 07:03:14 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2015-08-21 07:03:14 -0400
commitae06e9a5c640e376d8997409180e4ac1d57838b2 (patch)
tree15780481e4376184926b1e5f2eb38d0b345f56db /src/arch
parent2f44dada688ace9c24f085a8422b3054c3edb72e (diff)
downloadgem5-ae06e9a5c640e376d8997409180e4ac1d57838b2.tar.xz
cpu: Move invldPid constant from Request to BaseCPU
A more natural home for this constant.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/linux/system.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/linux/system.cc b/src/arch/arm/linux/system.cc
index f6df6307a..fc13e8cf5 100644
--- a/src/arch/arm/linux/system.cc
+++ b/src/arch/arm/linux/system.cc
@@ -241,7 +241,7 @@ LinuxArmSystem::startup()
for (int i = 0; i < _numContexts; i++) {
ThreadContext *tc = threadContexts[i];
uint32_t pid = tc->getCpuPtr()->getPid();
- if (pid != Request::invldPid) {
+ if (pid != BaseCPU::invldPid) {
mapPid(tc, pid);
tc->getCpuPtr()->taskId(taskMap[pid]);
}