From 4ad36a4684c554bce2c9e3780f51c58195fe8205 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 19 Sep 2011 06:09:15 -0700 Subject: MIPS: Guard SystemCallFault::invoke consistently. Make sure it's declared iff it's also defined. --- src/arch/mips/faults.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3