From: Nathan Binkert Date: Tue, 21 Apr 2009 22:40:26 +0000 (-0700) Subject: pseudo: only include kernel stats if FULL_SYSTEM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcc142463d38fc1d752b2e45c24a9e1040ccfc9e;p=gem5.git pseudo: only include kernel stats if FULL_SYSTEM. --- diff --git a/src/sim/pseudo_inst.cc b/src/sim/pseudo_inst.cc index 3c2a27f54..b5582578a 100644 --- a/src/sim/pseudo_inst.cc +++ b/src/sim/pseudo_inst.cc @@ -35,7 +35,8 @@ #include #include -#include "arch/kernel_stats.hh" +#include "config/full_system.hh" + #include "arch/vtophys.hh" #include "base/debug.hh" #include "cpu/base.hh" @@ -49,7 +50,9 @@ #include "sim/stat_control.hh" #include "sim/stats.hh" #include "sim/system.hh" + #if FULL_SYSTEM +#include "arch/kernel_stats.hh" #include "sim/vptr.hh" #endif