swig: Fix issue with circular import in 2.0.9/2.0.10
authorAndreas Hansson <andreas.hansson@arm.com>
Wed, 18 Sep 2013 12:46:31 +0000 (08:46 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Wed, 18 Sep 2013 12:46:31 +0000 (08:46 -0400)
commitfe5212f9328c10939bbd062c7c57b4c299376803
treeef11d35bdbd72cf10db6de9bd1d3a1a6870e68a9
parente93e12a62b1ddadb91214f0a0134e75735194716
swig: Fix issue with circular import in 2.0.9/2.0.10

This patch fixes an issue which prevented gem5 from running when built
using swig 2.0.9 and 2.0.10. The generated event.py tried to import
m5.internal which in turn relied on importing event. This patch seems
to fix the problem, and so far has not caused any other issues.
src/python/m5/__init__.py
src/python/m5/internal/__init__.py