summaryrefslogtreecommitdiff
path: root/src/mem/cache/cache.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-06-27 05:49:50 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-06-27 05:49:50 -0400
commit0d68d36b9d12c36e6201fa8bc4bec34258c04eab (patch)
tree66d9dc41b12a0bfafa80c8a7801f6b5d5725cdb6 /src/mem/cache/cache.cc
parenta0e551869c53d8fd0c8e3969521a2c732ad762b3 (diff)
downloadgem5-0d68d36b9d12c36e6201fa8bc4bec34258c04eab.tar.xz
mem: Remove the cache builder
This patch removes the redundant cache builder class.
Diffstat (limited to 'src/mem/cache/cache.cc')
-rw-r--r--src/mem/cache/cache.cc16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/mem/cache/cache.cc b/src/mem/cache/cache.cc
index 6a0669e06..d59a0d44b 100644
--- a/src/mem/cache/cache.cc
+++ b/src/mem/cache/cache.cc
@@ -36,28 +36,14 @@
* Cache template instantiations.
*/
-#include "mem/config/cache.hh"
-
-#if defined(USE_CACHE_LRU)
-#include "mem/cache/tags/lru.hh"
-#endif
-
-#if defined(USE_CACHE_FALRU)
#include "mem/cache/tags/fa_lru.hh"
-#endif
-
+#include "mem/cache/tags/lru.hh"
#include "mem/cache/cache_impl.hh"
// Template Instantiations
#ifndef DOXYGEN_SHOULD_SKIP_THIS
-
-#if defined(USE_CACHE_FALRU)
template class Cache<FALRU>;
-#endif
-
-#if defined(USE_CACHE_LRU)
template class Cache<LRU>;
-#endif
#endif //DOXYGEN_SHOULD_SKIP_THIS