summaryrefslogtreecommitdiff
path: root/src/cpu/thread_state.cc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-06-17 21:11:20 -0700
committerNathan Binkert <nate@binkert.org>2008-06-17 21:11:20 -0700
commit163465ac08674125fed1d4e843cab6c1c2bf2033 (patch)
tree7a7a1f5cec5d48a5a209f2502ab683822942cd65 /src/cpu/thread_state.cc
parent9dc4e2952cf34a794c18c7b98010c0b496123f9e (diff)
downloadgem5-163465ac08674125fed1d4e843cab6c1c2bf2033.tar.xz
ThreadState: Ensure that kernelStats is properly initialized
Diffstat (limited to 'src/cpu/thread_state.cc')
-rw-r--r--src/cpu/thread_state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/thread_state.cc b/src/cpu/thread_state.cc
index be8f822f2..bcfc9c924 100644
--- a/src/cpu/thread_state.cc
+++ b/src/cpu/thread_state.cc
@@ -46,7 +46,7 @@
ThreadState::ThreadState(BaseCPU *cpu, int _cpuId, int _tid)
: baseCpu(cpu), cpuId(_cpuId), tid(_tid), lastActivate(0), lastSuspend(0),
profile(NULL), profileNode(NULL), profilePC(0), quiesceEvent(NULL),
- physPort(NULL), virtPort(NULL),
+ kernelStats(NULL), physPort(NULL), virtPort(NULL),
microPC(0), nextMicroPC(1), funcExeInst(0), storeCondFailures(0)
#else
ThreadState::ThreadState(BaseCPU *cpu, int _cpuId, int _tid, Process *_process,