clang: Enable compiling gem5 using clang 2.9 and 3.0
[gem5.git] / src / mem / cache / tags / fa_lru.hh
index 5047da12a4b9009b3d4ce46147fcb0e9c4650de7..78f9ce1b47006ef475cbff5940fff1c9919be589 100644 (file)
@@ -39,8 +39,8 @@
 #include <list>
 
 #include "base/hashmap.hh"
-#include "mem/cache/blk.hh"
 #include "mem/cache/tags/base.hh"
+#include "mem/cache/blk.hh"
 #include "mem/packet.hh"
 
 /**
@@ -280,6 +280,12 @@ public:
     {
         return (tag);
     }
+
+    /**
+     *iterated through all blocks and clear all locks
+     *Needed to clear all lock tracking at once
+     */
+    virtual void clearLocks();
 };
 
 #endif // __MEM_CACHE_TAGS_FA_LRU_HH__