summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-04-18 22:17:13 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-04-23 18:24:55 +0200
commit9112a6b2fa4201c284c62a389710bd32b48c5f63 (patch)
tree94ce24b08bf244cc2295eb1469ff4e4b01c043b0 /arch
parentpowerpc: fix system.h fallout in sysdev/scom.c [chroma_defconfig] (diff)
downloadlinux-9112a6b2fa4201c284c62a389710bd32b48c5f63.tar.xz
linux-9112a6b2fa4201c284c62a389710bd32b48c5f63.zip
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')
-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? */