diff -r b998b5a6c5f5 -r ec7889e09a83 src/arch/arm/linux/system.cc --- a/src/arch/arm/linux/system.cc Tue Aug 11 11:39:23 2015 -0500 +++ b/src/arch/arm/linux/system.cc Thu Aug 13 21:26:46 2015 +0100 @@ -241,7 +241,7 @@ 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]); } diff -r b998b5a6c5f5 -r ec7889e09a83 src/cpu/base.hh --- a/src/cpu/base.hh Tue Aug 11 11:39:23 2015 -0500 +++ b/src/cpu/base.hh Thu Aug 13 21:26:46 2015 +0100 @@ -263,6 +263,11 @@ public: + + /** Invalid or unknown Pid. Possible when operating system is not present + * or has not assigned a pid yet */ + static const uint32_t invldPid = std::numeric_limits::max(); + // Mask to align PCs to MachInst sized boundaries static const Addr PCMask = ~((Addr)sizeof(TheISA::MachInst) - 1); diff -r b998b5a6c5f5 -r ec7889e09a83 src/cpu/base.cc --- a/src/cpu/base.cc Tue Aug 11 11:39:23 2015 -0500 +++ b/src/cpu/base.cc Thu Aug 13 21:26:46 2015 +0100 @@ -127,7 +127,7 @@ : MemObject(p), instCnt(0), _cpuId(p->cpu_id), _socketId(p->socket_id), _instMasterId(p->system->getMasterId(name() + ".inst")), _dataMasterId(p->system->getMasterId(name() + ".data")), - _taskId(ContextSwitchTaskId::Unknown), _pid(Request::invldPid), + _taskId(ContextSwitchTaskId::Unknown), _pid(invldPid), _switchedOut(p->switched_out), _cacheLineSize(p->system->cacheLineSize()), interrupts(p->interrupts), profileEvent(NULL), numThreads(p->numThreads), system(p->system), diff -r b998b5a6c5f5 -r ec7889e09a83 src/mem/request.hh --- a/src/mem/request.hh Tue Aug 11 11:39:23 2015 -0500 +++ b/src/mem/request.hh Thu Aug 13 21:26:46 2015 +0100 @@ -195,10 +195,6 @@ }; /** @} */ - /** Invalid or unknown Pid. Possible when operating system is not present - * or has not assigned a pid yet */ - static const uint32_t invldPid = std::numeric_limits::max(); - private: typedef uint8_t PrivateFlagsType; typedef ::Flags PrivateFlags;