diff --git a/src/cpu/o3/thread_context_impl.hh b/src/cpu/o3/thread_context_impl.hh index 940d460ce..a1a96933a 100755 --- a/src/cpu/o3/thread_context_impl.hh +++ b/src/cpu/o3/thread_context_impl.hh @@ -55,8 +55,9 @@ void O3ThreadContext::takeOverFrom(ThreadContext *old_context) { // some things should already be set up +#if FULL_SYSTEM assert(getSystemPtr() == old_context->getSystemPtr()); -#if !FULL_SYSTEM +#else assert(getProcessPtr() == old_context->getProcessPtr()); #endif