Gabe Black has submitted this change and it was merged. ( https://gem5-review.googlesource.com/9406 )

Change subject: dev: sparc: Get rid of the TheISA namespace in the SPARC devices.
......................................................................

dev: sparc: Get rid of the TheISA namespace in the SPARC devices.

It's not used, and so doesn't need to be brought in with a "using"
statement.

Change-Id: Iff4f7c66dbf1ee18e2e1a7d3e73bbae8cc4bf8eb
Reviewed-on: https://gem5-review.googlesource.com/9406
Reviewed-by: Andreas Sandberg <[email protected]>
Maintainer: Gabe Black <[email protected]>
---
M src/dev/sparc/dtod.cc
M src/dev/sparc/t1000.cc
2 files changed, 0 insertions(+), 5 deletions(-)

Approvals:
  Andreas Sandberg: Looks good to me, approved
  Gabe Black: Looks good to me, approved



diff --git a/src/dev/sparc/dtod.cc b/src/dev/sparc/dtod.cc
index 3d47ff6..b87d281 100644
--- a/src/dev/sparc/dtod.cc
+++ b/src/dev/sparc/dtod.cc
@@ -41,14 +41,12 @@

 #include "base/time.hh"
 #include "base/trace.hh"
-#include "config/the_isa.hh"
 #include "dev/platform.hh"
 #include "mem/packet_access.hh"
 #include "mem/port.hh"
 #include "sim/system.hh"

 using namespace std;
-using namespace TheISA;

 DumbTOD::DumbTOD(const Params *p)
     : BasicPioDevice(p, 0x08)
diff --git a/src/dev/sparc/t1000.cc b/src/dev/sparc/t1000.cc
index 0bc7ad8..e3a1d7f 100644
--- a/src/dev/sparc/t1000.cc
+++ b/src/dev/sparc/t1000.cc
@@ -38,13 +38,10 @@
 #include <string>
 #include <vector>

-#include "config/the_isa.hh"
 #include "cpu/intr_control.hh"
 #include "sim/system.hh"

 using namespace std;
-//Should this be AlphaISA?
-using namespace TheISA;

 T1000::T1000(const Params *p)
     : Platform(p), system(p->system)

--
To view, visit https://gem5-review.googlesource.com/9406
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Iff4f7c66dbf1ee18e2e1a7d3e73bbae8cc4bf8eb
Gerrit-Change-Number: 9406
Gerrit-PatchSet: 2
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to