From: Gabe Black Date: Mon, 19 Sep 2011 13:09:15 +0000 (-0700) Subject: MIPS: Guard SystemCallFault::invoke consistently. X-Git-Tag: stable_2012_02_02~72 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ad36a4684c554bce2c9e3780f51c58195fe8205;p=gem5.git MIPS: Guard SystemCallFault::invoke consistently. Make sure it's declared iff it's also defined. --- diff --git a/src/arch/mips/faults.hh b/src/arch/mips/faults.hh index 028ba9e43..8b7c22ec4 100644 --- a/src/arch/mips/faults.hh +++ b/src/arch/mips/faults.hh @@ -262,8 +262,10 @@ class SystemCallFault : public MipsFault FaultName name() const {return _name;} FaultVect vect() {return _vect;} FaultStat & countStat() {return _count;} +#if FULL_SYSTEM void invoke(ThreadContext * tc, StaticInstPtr inst = StaticInst::nullStaticInstPtr); +#endif }; class SoftResetFault : public MipsFault