mem-cache: Fix missing header in associative set
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Thu, 31 Oct 2019 15:48:56 +0000 (16:48 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Thu, 31 Oct 2019 19:00:08 +0000 (19:00 +0000)
commitfc0678daf202b9e7d7e4280389ce81abe00b8700
tree39a189ff9071b444ba71eff31d2563a78fc8dc4d
parentbb94296373dde1d0ce971ee58ad111f4225c425e
mem-cache: Fix missing header in associative set

Add missing intmath header to AssociativeSet, so that isPowerOf2 can
be used.

error: there are no arguments to 'isPowerOf2' that depend on a template
parameter, so a declaration of 'isPowerOf2' must be available

Change-Id: Ib2b194f9e71284ee439786bdb76d99858e57e2f5
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22444
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/cache/prefetch/associative_set_impl.hh