summaryrefslogtreecommitdiff
path: root/kern/kernel_stats.hh
diff options
context:
space:
mode:
Diffstat (limited to 'kern/kernel_stats.hh')
-rw-r--r--kern/kernel_stats.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/kern/kernel_stats.hh b/kern/kernel_stats.hh
index 273a56ec3..02d78e4d9 100644
--- a/kern/kernel_stats.hh
+++ b/kern/kernel_stats.hh
@@ -41,7 +41,6 @@ class ExecContext;
class FnEvent;
// What does kernel stats expect is included?
class System;
-class Fault;
namespace Kernel {
@@ -177,7 +176,7 @@ class Statistics : public Serializable
void ivlb() { _ivlb++; }
void ivle() { _ivle++; }
void hwrei() { _hwrei++; }
- void fault(Fault * fault)
+ void fault(Fault fault)
{
if(fault == NoFault) _faults[0]++;
else if(fault == MachineCheckFault) _faults[2]++;