misc: Replace M5_VAR_USED with GEM5_VAR_USED.
Change-Id: I64a874ccd1a9ac0541dfa01971d7d620a98c9d32 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45231 Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Gabe Black <gabe.black@gmail.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
This commit is contained in:
@@ -166,7 +166,7 @@ void
|
||||
TimingSimpleCPU::switchOut()
|
||||
{
|
||||
SimpleExecContext& t_info = *threadInfo[curThread];
|
||||
M5_VAR_USED SimpleThread* thread = t_info.thread;
|
||||
GEM5_VAR_USED SimpleThread* thread = t_info.thread;
|
||||
|
||||
// hardware transactional memory
|
||||
// Cannot switch out the CPU in the middle of a transaction
|
||||
@@ -937,7 +937,7 @@ TimingSimpleCPU::completeDataAccess(PacketPtr pkt)
|
||||
// hardware transactional memory
|
||||
|
||||
SimpleExecContext *t_info = threadInfo[curThread];
|
||||
M5_VAR_USED const bool is_htm_speculative =
|
||||
GEM5_VAR_USED const bool is_htm_speculative =
|
||||
t_info->inHtmTransactionalState();
|
||||
|
||||
// received a response from the dcache: complete the load or store
|
||||
|
||||
Reference in New Issue
Block a user