From fcc142463d38fc1d752b2e45c24a9e1040ccfc9e Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 21 Apr 2009 15:40:26 -0700 Subject: [PATCH] pseudo: only include kernel stats if FULL_SYSTEM. --- src/sim/pseudo_inst.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2