From ffbdaa7cce32bfb18f0c97b9c5f19d1aa54da503 Mon Sep 17 00:00:00 2001 From: Amin Farmahini Date: Tue, 28 Jan 2014 18:00:50 -0600 Subject: 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 --- src/mem/cache/tags/lru.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mem/cache/tags/lru.hh') 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 -- cgit v1.2.3