summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-04-18 16:17:13 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-04-23 12:24:55 -0400
commit9112a6b2fa4201c284c62a389710bd32b48c5f63 (patch)
tree94ce24b08bf244cc2295eb1469ff4e4b01c043b0 /arch/xtensa
parent1bc68a9e80a7b1ab8dbf1a97e43c5d6a99070bb3 (diff)
downloadlinux-9112a6b2fa4201c284c62a389710bd32b48c5f63.tar.bz2
xtensa: fix build failure in xtensa/kernel/signal.c
Caused by commit 3785006ac3c8941feb63097c416de92114a6bc39 "xtensa: don't mask signals if we fail to setup signal stack" It assigns a return value to "ret", but there is no such variable anywhere in scope. Create one. Cc: Oleg Nesterov <oleg@redhat.com> Cc: Chris Zankel <chris@zankel.net> Acked-by: Matt Fleming <matt.fleming@intel.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/kernel/signal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/signal.c b/arch/xtensa/kernel/signal.c
index b69b000349fc..d78869a00b11 100644
--- a/arch/xtensa/kernel/signal.c
+++ b/arch/xtensa/kernel/signal.c
@@ -496,6 +496,7 @@ int do_signal(struct pt_regs *regs, sigset_t *oldset)
signr = get_signal_to_deliver(&info, &ka, regs, NULL);
if (signr > 0) {
+ int ret;
/* Are we from a system call? */