summaryrefslogtreecommitdiff
path: root/src/kern
diff options
context:
space:
mode:
Diffstat (limited to 'src/kern')
-rw-r--r--src/kern/kernel_stats.cc2
-rw-r--r--src/kern/kernel_stats.hh5
2 files changed, 2 insertions, 5 deletions
diff --git a/src/kern/kernel_stats.cc b/src/kern/kernel_stats.cc
index f7f57af29..37677c1fc 100644
--- a/src/kern/kernel_stats.cc
+++ b/src/kern/kernel_stats.cc
@@ -41,7 +41,7 @@ using namespace Stats;
namespace Kernel {
-Statistics::Statistics(System *system)
+Statistics::Statistics()
: iplLast(0), iplLastTick(0)
{
}
diff --git a/src/kern/kernel_stats.hh b/src/kern/kernel_stats.hh
index efaf70611..d516baaec 100644
--- a/src/kern/kernel_stats.hh
+++ b/src/kern/kernel_stats.hh
@@ -34,13 +34,10 @@
#include <string>
-#include "config/the_isa.hh"
#include "sim/serialize.hh"
#include "sim/stats.hh"
// What does kernel stats expect is included?
-class System;
-
namespace Kernel {
class Statistics : public Serializable
@@ -63,7 +60,7 @@ class Statistics : public Serializable
Tick iplLastTick;
public:
- Statistics(System *system);
+ Statistics();
virtual ~Statistics() {}
const std::string name() const { return myname; }