summaryrefslogtreecommitdiff
path: root/src/python/m5/util/fdthelper.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/util/fdthelper.py')
-rw-r--r--src/python/m5/util/fdthelper.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python/m5/util/fdthelper.py b/src/python/m5/util/fdthelper.py
index bd04b4154..c8760508c 100644
--- a/src/python/m5/util/fdthelper.py
+++ b/src/python/m5/util/fdthelper.py
@@ -35,6 +35,10 @@
#
# Author: Glenn Bergmans
+import six
+if six.PY3:
+ long = int
+
from m5.ext.pyfdt import pyfdt
import re
import os