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).
This commit is contained in:
Andreas Hansson 2012-10-25 04:32:42 -04:00
parent a4329af937
commit 1fdc4e850e

View file

@ -797,7 +797,7 @@ void
TableWalker::nextWalk(ThreadContext *tc)
{
if (pendingQueue.size())
schedule(doProcessEvent, tc->getCpuPtr()->clockEdge(Cycles(1)));
schedule(doProcessEvent, clockEdge(Cycles(1)));
}