summaryrefslogtreecommitdiff
path: root/ext/sst/ExtMaster.cc
diff options
context:
space:
mode:
authorCurtis Dunham <Curtis.Dunham@arm.com>2016-02-04 16:57:59 -0600
committerCurtis Dunham <Curtis.Dunham@arm.com>2016-02-04 16:57:59 -0600
commitb4282af3181ad2a6199065cdc7c0275212a2628b (patch)
tree2dd2b0f8f1dc1d51c2ebd87ec201ea528e5525bd /ext/sst/ExtMaster.cc
parentfe32b40269f41faa64db712334f1891d0e6d9a35 (diff)
downloadgem5-b4282af3181ad2a6199065cdc7c0275212a2628b.tar.xz
ext: fix SST connector
Should work with SST 5.1 and trunk as of right now.
Diffstat (limited to 'ext/sst/ExtMaster.cc')
-rw-r--r--ext/sst/ExtMaster.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/sst/ExtMaster.cc b/ext/sst/ExtMaster.cc
index 95cbfe7ad..26a6c4a09 100644
--- a/ext/sst/ExtMaster.cc
+++ b/ext/sst/ExtMaster.cc
@@ -44,6 +44,10 @@
#include "gem5.hh"
+#ifdef fatal // gem5 sets this
+#undef fatal
+#endif
+
#include <sst_config.h>
#include <mem/packet.hh>
@@ -53,10 +57,6 @@
#include <sst/core/link.h>
#include <sst/elements/memHierarchy/memNIC.h>
-#ifdef fatal // gem5 sets this
-#undef fatal
-#endif
-
using namespace SST;
using namespace SST::gem5;
using namespace SST::MemHierarchy;