diff options
Diffstat (limited to 'src/arch/alpha')
-rw-r--r-- | src/arch/alpha/kernel_stats.cc | 4 | ||||
-rw-r--r-- | src/arch/alpha/kernel_stats.hh | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/src/arch/alpha/kernel_stats.cc b/src/arch/alpha/kernel_stats.cc index fed8b09e4..a1ed532d8 100644 --- a/src/arch/alpha/kernel_stats.cc +++ b/src/arch/alpha/kernel_stats.cc @@ -50,8 +50,8 @@ namespace Kernel { const char *modestr[] = { "kernel", "user", "idle" }; -Statistics::Statistics(System *system) - : ::Kernel::Statistics(system), +Statistics::Statistics() + : ::Kernel::Statistics(), idleProcess((Addr)-1), themode(kernel), lastModeTick(0) { } diff --git a/src/arch/alpha/kernel_stats.hh b/src/arch/alpha/kernel_stats.hh index 06d20e6fa..3b2b5a0c0 100644 --- a/src/arch/alpha/kernel_stats.hh +++ b/src/arch/alpha/kernel_stats.hh @@ -40,11 +40,7 @@ #include "cpu/static_inst.hh" #include "kern/kernel_stats.hh" -class BaseCPU; class ThreadContext; -class FnEvent; -// What does kernel stats expect is included? -class System; namespace AlphaISA { namespace Kernel { @@ -73,7 +69,7 @@ class Statistics : public ::Kernel::Statistics Stats::Scalar _swap_context; public: - Statistics(System *system); + Statistics(); void regStats(const std::string &name); |