diff options
Diffstat (limited to 'src/mem/cache/tags')
-rw-r--r-- | src/mem/cache/tags/iic.cc | 11 | ||||
-rw-r--r-- | src/mem/cache/tags/lru.cc | 4 |
2 files changed, 6 insertions, 9 deletions
diff --git a/src/mem/cache/tags/iic.cc b/src/mem/cache/tags/iic.cc index b5bd66366..1315a17ee 100644 --- a/src/mem/cache/tags/iic.cc +++ b/src/mem/cache/tags/iic.cc @@ -34,18 +34,15 @@ */ #include <algorithm> +#include <cmath> #include <string> #include <vector> -#include <math.h> - +#include "base/intmath.hh" +#include "base/trace.hh" #include "mem/cache/base.hh" #include "mem/cache/tags/iic.hh" -#include "base/intmath.hh" -#include "sim/core.hh" // for curTick - -#include "base/trace.hh" // for DPRINTF - +#include "sim/core.hh" using namespace std; diff --git a/src/mem/cache/tags/lru.cc b/src/mem/cache/tags/lru.cc index a99936abf..8a8b0d0d6 100644 --- a/src/mem/cache/tags/lru.cc +++ b/src/mem/cache/tags/lru.cc @@ -35,11 +35,11 @@ #include <string> -#include "mem/cache/base.hh" #include "base/intmath.hh" +#include "mem/cache/base.hh" +#include "mem/cache/tags/cacheset.hh" #include "mem/cache/tags/lru.hh" #include "sim/core.hh" -#include "cacheset.hh" using namespace std; |