summaryrefslogtreecommitdiff
path: root/src/mem/cache/tags/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/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/lru.hh')
-rw-r--r--src/mem/cache/tags/lru.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mem/cache/tags/lru.hh b/src/mem/cache/tags/lru.hh
index 9d438497a..121bdb292 100644
--- a/src/mem/cache/tags/lru.hh
+++ b/src/mem/cache/tags/lru.hh
@@ -169,10 +169,9 @@ public:
/**
* Find a block to evict for the address provided.
* @param addr The addr to a find a replacement candidate for.
- * @param writebacks List for any writebacks to be performed.
* @return The candidate block.
*/
- BlkType* findVictim(Addr addr, PacketList &writebacks);
+ BlkType* findVictim(Addr addr);
/**
* Insert the new block into the cache. For LRU this means inserting into