mem-cache: Make checking function const in FALRU
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Wed, 3 Oct 2018 12:55:31 +0000 (14:55 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 5 Oct 2018 18:42:49 +0000 (18:42 +0000)
commite2c8d06289354b539358c2425c28f2939d3ddf48
treef1fd55e938a24ccb5f58e923604d32c575af72cd
parent079a16d16373ff739785a923649180a20f977489
mem-cache: Make checking function const in FALRU

The checking function should not be able to modify either
the head and tail pointers nor should it modify its class.

Change-Id: I2ad495f0c8c6b778d48512143e94b4c9a353f22e
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/13209
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/tags/fa_lru.cc
src/mem/cache/tags/fa_lru.hh