diff options
author | Amin Farmahini <aminfar@gmail.com> | 2014-01-28 18:00:50 -0600 |
---|---|---|
committer | Amin Farmahini <aminfar@gmail.com> | 2014-01-28 18:00:50 -0600 |
commit | ffbdaa7cce32bfb18f0c97b9c5f19d1aa54da503 (patch) | |
tree | 8719d8b83bf57b012d3417d956e440a86726f9df /src/mem/cache/tags/lru.hh | |
parent | 575a73f4a11432e11167537fb301dfc5d088810f (diff) | |
download | gem5-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.hh | 3 |
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 |