Inorder: Fix compilation of m5.fast.
authorGabe Black <gblack@eecs.umich.edu>
Sat, 14 Aug 2010 08:00:45 +0000 (01:00 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Sat, 14 Aug 2010 08:00:45 +0000 (01:00 -0700)
commitc4ba6967a522df3b51a50017d8a5f2c47c382f57
treef9bbeeb48724a976a6b59027ca4358daf8c9d5a1
parent961aafc044b934ac0e5d1ffe51fc5f33813b052b
Inorder: Fix compilation of m5.fast.

printMemData is only used in DPRINTFs. If those are removed by compiling
m5.fast, that function is unused, gcc generates a warning, that gets turned
into an error, and the build fails. This change surrounds the function
definition with #if TRACING_ON so it only gets compiled in if the DPRINTFs do
to.
src/cpu/inorder/resources/cache_unit.cc