From 22c04190c607b9360d9a23548f8a54e83cf0e74a Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 12 Oct 2015 04:07:59 -0400 Subject: misc: Remove redundant compiler-specific defines This patch moves away from using M5_ATTR_OVERRIDE and the m5::hashmap (and similar) abstractions, as these are no longer needed with gcc 4.7 and clang 3.1 as minimum compiler versions. --- src/arch/x86/regs/msr.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/arch/x86/regs/msr.hh') diff --git a/src/arch/x86/regs/msr.hh b/src/arch/x86/regs/msr.hh index a2ae5c69a..f273a8227 100644 --- a/src/arch/x86/regs/msr.hh +++ b/src/arch/x86/regs/msr.hh @@ -31,14 +31,15 @@ #ifndef __ARCH_X86_REG_MSR_HH__ #define __ARCH_X86_REG_MSR_HH__ +#include + #include "arch/x86/regs/misc.hh" -#include "base/hashmap.hh" #include "base/types.hh" namespace X86ISA { -typedef m5::hash_map MsrMap; +typedef std::unordered_map MsrMap; /** * Map between MSR addresses and their corresponding misc registers. -- cgit v1.2.3