diff --git a/arch/sparc/kernel/signal.c b/arch/sparc/kernel/signal.c
index 7f677a39c1a987742818931ee9d88146ef813f78..df8936608763195254cad372d3f2898fa66fec6c 100644
--- a/arch/sparc/kernel/signal.c
+++ b/arch/sparc/kernel/signal.c
@@ -1016,6 +1016,7 @@ asmlinkage int svr4_setcontext(svr4_ucontext_t __user *c, struct pt_regs *regs)
 
 sigsegv_and_return:
 	force_sig(SIGSEGV, current);
+	return -EFAULT;
 }
 
 static inline void