arch,cpu: Add a setThreadContext method to the ISA class.
[gem5.git] / src / cpu / o3 / thread_context_impl.hh
index 7a2c830707a8f496661ba4e8115a2c066ef018f0..d02be717b39dbc02e14423daeb7cb239aff67b2e 100644 (file)
@@ -200,7 +200,7 @@ template <class Impl>
 void
 O3ThreadContext<Impl>::clearArchRegs()
 {
-    cpu->isa[thread->threadId()]->clear(this);
+    cpu->isa[thread->threadId()]->clear();
 }
 
 template <class Impl>