diff options
Diffstat (limited to 'src/mem/cache')
-rw-r--r-- | src/mem/cache/mshr.cc | 2 | ||||
-rw-r--r-- | src/mem/cache/mshr.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/cache/mshr.cc b/src/mem/cache/mshr.cc index 726253c62..100e6126a 100644 --- a/src/mem/cache/mshr.cc +++ b/src/mem/cache/mshr.cc @@ -51,7 +51,7 @@ MSHR::MSHR() { inService = false; ntargets = 0; - threadNum = -1; + threadNum = InvalidThreadID; targets = new TargetList(); deferredTargets = new TargetList(); } diff --git a/src/mem/cache/mshr.hh b/src/mem/cache/mshr.hh index bed7012b0..13395d314 100644 --- a/src/mem/cache/mshr.hh +++ b/src/mem/cache/mshr.hh @@ -138,7 +138,7 @@ class MSHR : public Packet::SenderState, public Printable bool pendingShared; /** Thread number of the miss. */ - short threadNum; + ThreadID threadNum; /** The number of currently allocated targets. */ short ntargets; |