sim: Added M5_VAR_USED to unused `cpu` var
authorBobby R. Bruce <bbruce@ucdavis.edu>
Sun, 12 Jul 2020 20:27:00 +0000 (13:27 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Thu, 16 Jul 2020 02:44:26 +0000 (02:44 +0000)
commit191212a6dcf27badeafdb19f5037014391dd19d1
tree0c8fc57eee077fd311b20683260bcdb74e59da08
parent5052aae04fddc8876551f8bd4fa6931ed2f02544
sim: Added M5_VAR_USED to unused `cpu` var

The `BaseCPU cpu` variable unused when compiling gem5.fast. This
causes the compilation to fail. Adding the M5_VAR_USED resolves this
issue.

Change-Id: I62588563e9cde384e30755742d6bc754e819d7f4
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31214
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/sim/system.cc