From a5f933d9af64b8625785fb3eea469d1e98442fdd Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 27 Mar 2018 02:19:34 -0700 Subject: [PATCH] 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 Maintainer: Gabe Black --- src/dev/sparc/dtod.cc | 2 -- src/dev/sparc/t1000.cc | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/dev/sparc/dtod.cc b/src/dev/sparc/dtod.cc index 3d47ff660..b87d2813a 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 0bc7ad87d..e3a1d7f89 100644 --- a/src/dev/sparc/t1000.cc +++ b/src/dev/sparc/t1000.cc @@ -38,13 +38,10 @@ #include #include -#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) -- 2.30.2