summaryrefslogtreecommitdiff
path: root/src/mem/cache/tags
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-09-10 14:58:04 -0700
committerNathan Binkert <nate@binkert.org>2010-09-10 14:58:04 -0700
commitafafaf1dcbab1fac3e3ba2f87dd5138d3ec08588 (patch)
treee13b5f3eaf5c55447898150532d823662d11b5f6 /src/mem/cache/tags
parent47ef97b9caad0a72751523855d145dcd96fc5738 (diff)
downloadgem5-afafaf1dcbab1fac3e3ba2f87dd5138d3ec08588.tar.xz
style: fix sorting of includes and whitespace in some files
Diffstat (limited to 'src/mem/cache/tags')
-rw-r--r--src/mem/cache/tags/iic.cc11
-rw-r--r--src/mem/cache/tags/lru.cc4
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;