summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/python/m5/simulate.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/python/m5/simulate.py b/src/python/m5/simulate.py
index 5673e26c7..2aee677bd 100644
--- a/src/python/m5/simulate.py
+++ b/src/python/m5/simulate.py
@@ -224,7 +224,6 @@ def _changeMemoryMode(system, mode):
raise TypeError, "Parameter of type '%s'. Must be type %s or %s." % \
(type(system), objects.Root, objects.System)
if system.getMemoryMode() != mode:
- drain(system)
system.setMemoryMode(mode)
else:
print "System already in target mode. Memory mode unchanged."