mem: fix page_table bug for .fast build
Since b8b13206c8, the '.fast' build has failed to compile with an error
caused by a variable and an assert.
As a reminder, assert macros are optimized out of the build for '.fast'.
If an assert check requires a variable that is unused anywhere else in
the code, the compiler complains that the variable is unused and the
scons build fails. The solution is to add a M5_VAR_USED specifier to
tell the compiler to ignore the variable.
Reviewed-by: Jason Lowe-Power <email@example.com>
Reviewed-by: Anthony Gutierrez <firstname.lastname@example.org>
Maintainer: Jason Lowe-Power <email@example.com>
Maintainer: Anthony Gutierrez <firstname.lastname@example.org>
1 file changed