summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2012-10-25 04:32:42 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2012-10-25 04:32:42 -0400
commit1fdc4e850e3e1fafb0b0c7cd7bd534c5cbe3013d (patch)
tree749f59925c4187c857757f77fd5e3fab879a3baf /src/arch
parenta4329af937870e832caf3fc34e2ca448f2322ecc (diff)
downloadgem5-1fdc4e850e3e1fafb0b0c7cd7bd534c5cbe3013d.tar.xz
arm: Use table walker clock that is inherited from CPU
This patch simplifies the scheduling of the next walk for the ARM table walker. Previously it used the CPU clock, but as the table walker inherits the clock from the CPU, it is cleaner to simply use its own clock (which is the same).
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/table_walker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/table_walker.cc b/src/arch/arm/table_walker.cc
index 5f4453935..a10eb4a20 100644
--- a/src/arch/arm/table_walker.cc
+++ b/src/arch/arm/table_walker.cc
@@ -797,7 +797,7 @@ void
TableWalker::nextWalk(ThreadContext *tc)
{
if (pendingQueue.size())
- schedule(doProcessEvent, tc->getCpuPtr()->clockEdge(Cycles(1)));
+ schedule(doProcessEvent, clockEdge(Cycles(1)));
}