summaryrefslogtreecommitdiff
path: root/src/sim/faults.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-01-31 13:13:00 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-01-31 13:13:00 -0800
commit4b4cd0303ea0e3b23e641933dbf0da57d1483764 (patch)
treecb16933990eaf586bc29403c36528f3ff875edf6 /src/sim/faults.hh
parent048b1e5843494be33b08cd42a3f0bb16e5d320cc (diff)
downloadgem5-4b4cd0303ea0e3b23e641933dbf0da57d1483764.tar.xz
Fault: Move the definition of NoFault from faults.hh to fault.hh.
Moving the definition of NoFault into fault.hh doesn't bring any new dependencies with it, and allows some files to include just fault.hh which has less baggage. NoFault will still be available to everything that includes faults.hh because it includes fault.hh.
Diffstat (limited to 'src/sim/faults.hh')
-rw-r--r--src/sim/faults.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sim/faults.hh b/src/sim/faults.hh
index e48928b2c..27cc7538c 100644
--- a/src/sim/faults.hh
+++ b/src/sim/faults.hh
@@ -61,8 +61,6 @@ class FaultBase : public RefCounted
virtual bool isAlignmentFault() const {return false;}
};
-FaultBase * const NoFault = 0;
-
class UnimpFault : public FaultBase
{
private: