summaryrefslogtreecommitdiff
path: root/src/arch/riscv/kernel_stats.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/kernel_stats.hh')
-rw-r--r--src/arch/riscv/kernel_stats.hh6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/arch/riscv/kernel_stats.hh b/src/arch/riscv/kernel_stats.hh
index 6cb6ed068..a796075f5 100644
--- a/src/arch/riscv/kernel_stats.hh
+++ b/src/arch/riscv/kernel_stats.hh
@@ -37,17 +37,13 @@
namespace RiscvISA {
namespace Kernel {
-enum cpu_mode { kernel, user, idle, cpu_mode_num };
-extern const char *modestr[];
-
class Statistics : public ::Kernel::Statistics
{
public:
- Statistics(System *system) : ::Kernel::Statistics(system)
+ Statistics() : ::Kernel::Statistics()
{}
};
-
} // namespace RiscvISA::Kernel
} // namespace RiscvISA