summaryrefslogtreecommitdiff
path: root/src/python/m5
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-07-06 13:59:13 -0400
committerKevin Lim <ktlim@umich.edu>2006-07-06 13:59:13 -0400
commit05eef5ee1569f7a1c399a2b358a11323e88a48f8 (patch)
tree497f1de51ddf8d65f11b92a551062934abbeac2d /src/python/m5
parente60f998e2993df35460c8835016b3043a13da80a (diff)
parent30c516d51cad44f62a7269a59f067ae5a1be81df (diff)
downloadgem5-05eef5ee1569f7a1c399a2b358a11323e88a48f8.tar.xz
Merge ktlim@zizzer:/bk/newmem
into zamp.eecs.umich.edu:/z/ktlim2/clean/newmem-merge --HG-- extra : convert_revision : 00f8eecf99c771ae8943ed1d3a652bfbcfe1c6bc
Diffstat (limited to 'src/python/m5')
-rw-r--r--src/python/m5/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/config.py b/src/python/m5/config.py
index cffe06984..8291e1e1b 100644
--- a/src/python/m5/config.py
+++ b/src/python/m5/config.py
@@ -547,7 +547,7 @@ class SimObject(object):
count = 0
# ParamContexts don't serialize
if isinstance(self, SimObject) and not isinstance(self, ParamContext):
- if self._ccObject.drain(drain_event):
+ if not self._ccObject.drain(drain_event):
count = 1
if recursive:
for child in self._children.itervalues():