diff options
Diffstat (limited to 'src/mem/cache/tags/fa_lru.hh')
-rw-r--r-- | src/mem/cache/tags/fa_lru.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mem/cache/tags/fa_lru.hh b/src/mem/cache/tags/fa_lru.hh index a266fb516..559f56e28 100644 --- a/src/mem/cache/tags/fa_lru.hh +++ b/src/mem/cache/tags/fa_lru.hh @@ -242,14 +242,14 @@ public: } /** - * Regenerate the block address from the tag and the set. - * @param tag The tag of the block. - * @param set The set the block belongs to. + * Regenerate the block address from the tag. + * + * @param block The block. * @return the block address. */ - Addr regenerateBlkAddr(Addr tag, unsigned set) const override + Addr regenerateBlkAddr(const CacheBlk* blk) const override { - return (tag); + return blk->tag; } /** |