diff -r 75c3b7877fde -r 425f6a8cdcf9 src/arch/mips/faults.hh --- a/src/arch/mips/faults.hh Mon Sep 12 05:33:15 2011 -0700 +++ b/src/arch/mips/faults.hh Mon Sep 12 05:34:01 2011 -0700 @@ -85,6 +85,11 @@ bool isMachineCheckFault() {return true;} }; +static inline Fault genMachineCheckFault() +{ + return new MachineCheckFault; +} + class NonMaskableInterrupt : public MipsFault { public: @@ -106,11 +111,6 @@ }; -static inline Fault genMachineCheckFault() -{ - return new MachineCheckFault; -} - class ResetFault : public MipsFault { public: