Only include kern/kernel_stats.hh if in full system. This was breaking MIPS_SE

--HG--
extra : convert_revision : b3f956af92cb98b4945aebc8aece1dffcabdf15c
This commit is contained in:
Gabe Black 2006-11-07 20:26:45 -05:00
parent 56230ffb3a
commit a05b16b1ab

View file

@ -46,7 +46,6 @@
#include "cpu/smt.hh" #include "cpu/smt.hh"
#include "cpu/static_inst.hh" #include "cpu/static_inst.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "kern/kernel_stats.hh"
#include "mem/packet.hh" #include "mem/packet.hh"
#include "sim/builder.hh" #include "sim/builder.hh"
#include "sim/byteswap.hh" #include "sim/byteswap.hh"
@ -58,10 +57,11 @@
#include "sim/system.hh" #include "sim/system.hh"
#if FULL_SYSTEM #if FULL_SYSTEM
#include "base/remote_gdb.hh"
#include "arch/tlb.hh" #include "arch/tlb.hh"
#include "arch/stacktrace.hh" #include "arch/stacktrace.hh"
#include "arch/vtophys.hh" #include "arch/vtophys.hh"
#include "base/remote_gdb.hh"
#include "kern/kernel_stats.hh"
#else // !FULL_SYSTEM #else // !FULL_SYSTEM
#include "mem/mem_object.hh" #include "mem/mem_object.hh"
#endif // FULL_SYSTEM #endif // FULL_SYSTEM