diff options
-rw-r--r-- | src/cpu/simple/atomic.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/simple/atomic.cc b/src/cpu/simple/atomic.cc index bc7670b23..7a368ab32 100644 --- a/src/cpu/simple/atomic.cc +++ b/src/cpu/simple/atomic.cc @@ -628,7 +628,8 @@ AtomicSimpleCPU::tick() traceData = NULL; } - if (dynamic_pointer_cast<SyscallRetryFault>(fault)) { + if (fault != NoFault && + dynamic_pointer_cast<SyscallRetryFault>(fault)) { // Retry execution of system calls after a delay. // Prevents immediate re-execution since conditions which // caused the retry are unlikely to change every tick. |