summaryrefslogtreecommitdiff
path: root/arch/alpha
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-03-12 15:14:07 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2006-03-12 15:14:07 -0500
commit71c2c962dbaf4e04d64a117b5b333a3c039423ad (patch)
treeaeaf8e90feb42aa650be398fd4712f5b1602ba2c /arch/alpha
parent57d53f8a9d738b43e0de41a70813e3a6de8d4dfb (diff)
downloadgem5-71c2c962dbaf4e04d64a117b5b333a3c039423ad.tar.xz
Clean up "using" declarations.
arch/alpha/isa_traits.hh: No unprotected "using" in header files. cpu/simple/cpu.cc: Fix ISA namespace "using" statement. --HG-- extra : convert_revision : 317ea40f8de00748d7613a0116edab05770bdc72
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/isa_traits.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/alpha/isa_traits.hh b/arch/alpha/isa_traits.hh
index 5aa14a118..1ab3b989d 100644
--- a/arch/alpha/isa_traits.hh
+++ b/arch/alpha/isa_traits.hh
@@ -30,7 +30,6 @@
#define __ARCH_ALPHA_ISA_TRAITS_HH__
namespace LittleEndianGuest {}
-using namespace LittleEndianGuest;
#include "arch/alpha/types.hh"
#include "arch/alpha/constants.hh"
@@ -79,6 +78,8 @@ class SyscallReturn {
namespace AlphaISA
{
+using namespace LittleEndianGuest;
+
// redirected register map, really only used for the full system case.
extern const int reg_redir[NumIntRegs];
@@ -109,6 +110,4 @@ extern const int reg_redir[NumIntRegs];
#endif
};
-using namespace AlphaISA;
-
#endif // __ARCH_ALPHA_ISA_TRAITS_HH__