SE/FS: Get rid of includes of config/full_system.hh.
[gem5.git] / src / kern / kernel_stats.cc
index d1de00fcdc4f1d53c7b5fab0a9132de79e8354e6..96e219bd47d9d4e3d1f41d86824d96131987130b 100644 (file)
@@ -34,7 +34,9 @@
 #include "base/trace.hh"
 #include "cpu/thread_context.hh"
 #include "kern/kernel_stats.hh"
+#if THE_ISA == ALPHA_ISA
 #include "kern/tru64/tru64_syscalls.hh"
+#endif
 #include "sim/system.hh"
 
 using namespace std;
@@ -90,13 +92,14 @@ Statistics::regStats(const string &_name)
         ;
 
     _iplUsed = _iplGood / _iplCount;
-
+#if THE_ISA == ALPHA_ISA
     _syscall
         .init(SystemCalls<Tru64>::Number)
         .name(name() + ".syscall")
         .desc("number of syscalls executed")
         .flags(total | pdf | nozero | nonan)
         ;
+#endif
 
     //@todo This needs to get the names of syscalls from an appropriate place.
 #if 0