summaryrefslogtreecommitdiff
path: root/src/arch/x86/kernel_stats.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/kernel_stats.hh')
-rw-r--r--src/arch/x86/kernel_stats.hh16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/arch/x86/kernel_stats.hh b/src/arch/x86/kernel_stats.hh
index e5b9a0c95..1a821a0e9 100644
--- a/src/arch/x86/kernel_stats.hh
+++ b/src/arch/x86/kernel_stats.hh
@@ -45,24 +45,10 @@
namespace X86ISA {
namespace Kernel {
-enum cpu_mode {
- ring0,
- ring1,
- ring2,
- ring3,
- kernel = ring0,
- user = ring3,
- idle,
- //What is this next one for?
- cpu_mode_num
-};
-
-extern const char *modestr[];
-
class Statistics : public ::Kernel::Statistics
{
public:
- Statistics(System * system) : ::Kernel::Statistics(system)
+ Statistics() : ::Kernel::Statistics()
{}
};