summaryrefslogtreecommitdiff
path: root/src/mem/cache/tags/fa_lru.hh
diff options
context:
space:
mode:
authorAmin Farmahini <aminfar@gmail.com>2014-01-28 18:00:50 -0600
committerAmin Farmahini <aminfar@gmail.com>2014-01-28 18:00:50 -0600
commitffbdaa7cce32bfb18f0c97b9c5f19d1aa54da503 (patch)
tree8719d8b83bf57b012d3417d956e440a86726f9df /src/mem/cache/tags/fa_lru.hh
parent575a73f4a11432e11167537fb301dfc5d088810f (diff)
downloadgem5-ffbdaa7cce32bfb18f0c97b9c5f19d1aa54da503.tar.xz
mem: Remove redundant findVictim() input argument
The patch (1) removes the redundant writeback argument from findVictim() (2) fixes the description of access() function Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/mem/cache/tags/fa_lru.hh')
-rw-r--r--src/mem/cache/tags/fa_lru.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mem/cache/tags/fa_lru.hh b/src/mem/cache/tags/fa_lru.hh
index 1465bd861..ef13b2c79 100644
--- a/src/mem/cache/tags/fa_lru.hh
+++ b/src/mem/cache/tags/fa_lru.hh
@@ -203,10 +203,9 @@ public:
/**
* Find a replacement block for the address provided.
* @param pkt The request to a find a replacement candidate for.
- * @param writebacks List for any writebacks to be performed.
* @return The block to place the replacement in.
*/
- FALRUBlk* findVictim(Addr addr, PacketList & writebacks);
+ FALRUBlk* findVictim(Addr addr);
void insertBlock(PacketPtr pkt, BlkType *blk);