summaryrefslogtreecommitdiff
path: root/src/mem/cache/base.cc
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@arm.com>2016-05-26 11:56:24 +0100
committerNikos Nikoleris <nikos.nikoleris@arm.com>2016-05-26 11:56:24 +0100
commita69a0f33cbe546826756b31dcefbe9d1fdb84b2a (patch)
tree179e55753c1e8bdaadde578c6769f690570dc6ee /src/mem/cache/base.cc
parentf9d62b63e10a05be824b094f51f792e9ae4e04f3 (diff)
downloadgem5-a69a0f33cbe546826756b31dcefbe9d1fdb84b2a.tar.xz
mem: fix headers include order in the cache related classes
Change-Id: Ia57cc104978861ab342720654e408dbbfcbe4b69 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/mem/cache/base.cc')
-rw-r--r--src/mem/cache/base.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mem/cache/base.cc b/src/mem/cache/base.cc
index c11208021..b6b3b1481 100644
--- a/src/mem/cache/base.cc
+++ b/src/mem/cache/base.cc
@@ -45,14 +45,15 @@
* Definition of BaseCache functions.
*/
+#include "mem/cache/base.hh"
+
#include "debug/Cache.hh"
#include "debug/Drain.hh"
+#include "mem/cache/cache.hh"
+#include "mem/cache/mshr.hh"
#include "mem/cache/tags/fa_lru.hh"
#include "mem/cache/tags/lru.hh"
#include "mem/cache/tags/random_repl.hh"
-#include "mem/cache/base.hh"
-#include "mem/cache/cache.hh"
-#include "mem/cache/mshr.hh"
#include "sim/full_system.hh"
using namespace std;