summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2019-08-08 14:15:50 -0400
committerBrandon Potter <Brandon.Potter@amd.com>2019-08-09 01:41:43 +0000
commit29082ef5cec7640977907ea540659e895f8ca164 (patch)
tree4c8ffb6ca53d441b81a306b9e045405eba840154 /src/sim
parent77f7cc489efac6df93316fe4dc434f860f971a3e (diff)
downloadgem5-29082ef5cec7640977907ea540659e895f8ca164.tar.xz
sim-se: remove unused parameter
The init function which processes invoke on their page tables has a thread context pointer parameter. The parameter is not used by the code so remove it. Change-Id: Ic4766fbc105d81c1c9ee4b5c0f428497dff2ab30 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19948 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc
index 3a39dbe50..735933d01 100644
--- a/src/sim/process.cc
+++ b/src/sim/process.cc
@@ -282,7 +282,7 @@ Process::initState()
// mark this context as active so it will start ticking.
tc->activate();
- pTable->initState(tc);
+ pTable->initState();
}
DrainState