diff options
Diffstat (limited to 'src/cpu/inorder')
-rw-r--r-- | src/cpu/inorder/thread_context.cc | 4 | ||||
-rw-r--r-- | src/cpu/inorder/thread_context.hh | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/cpu/inorder/thread_context.cc b/src/cpu/inorder/thread_context.cc index f5e55627c..8fc6ac75f 100644 --- a/src/cpu/inorder/thread_context.cc +++ b/src/cpu/inorder/thread_context.cc @@ -85,11 +85,7 @@ InOrderThreadContext::takeOverFrom(ThreadContext *old_context) { // some things should already be set up assert(getSystemPtr() == old_context->getSystemPtr()); -#if !FULL_SYSTEM assert(getProcessPtr() == old_context->getProcessPtr()); -#endif - - // copy over functional state setStatus(old_context->status()); diff --git a/src/cpu/inorder/thread_context.hh b/src/cpu/inorder/thread_context.hh index 9b071ee5d..95338c05c 100644 --- a/src/cpu/inorder/thread_context.hh +++ b/src/cpu/inorder/thread_context.hh @@ -142,10 +142,9 @@ class InOrderThreadContext : public ThreadContext { return this->thread->quiesceEvent; } -#else +#endif /** Returns a pointer to this thread's process. */ Process *getProcessPtr() { return thread->getProcessPtr(); } -#endif TranslatingPort *getMemPort() { return thread->getMemPort(); } |