From: Gabe Black Date: Wed, 8 Nov 2006 01:26:45 +0000 (-0500) Subject: Only include kern/kernel_stats.hh if in full system. This was breaking MIPS_SE X-Git-Tag: m5_2.0_beta2~53^2~23 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a05b16b1ab56d55bb7400f0cb1eaa466905f43d5;p=gem5.git Only include kern/kernel_stats.hh if in full system. This was breaking MIPS_SE --HG-- extra : convert_revision : b3f956af92cb98b4945aebc8aece1dffcabdf15c --- diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index e91569db2..b7df39218 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -46,7 +46,6 @@ #include "cpu/smt.hh" #include "cpu/static_inst.hh" #include "cpu/thread_context.hh" -#include "kern/kernel_stats.hh" #include "mem/packet.hh" #include "sim/builder.hh" #include "sim/byteswap.hh" @@ -58,10 +57,11 @@ #include "sim/system.hh" #if FULL_SYSTEM -#include "base/remote_gdb.hh" #include "arch/tlb.hh" #include "arch/stacktrace.hh" #include "arch/vtophys.hh" +#include "base/remote_gdb.hh" +#include "kern/kernel_stats.hh" #else // !FULL_SYSTEM #include "mem/mem_object.hh" #endif // FULL_SYSTEM