xtensa: fix build failure in xtensa/kernel/signal.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 18 Apr 2012 20:17:13 +0000 (16:17 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 23 Apr 2012 16:24:55 +0000 (12:24 -0400)
commit9112a6b2fa4201c284c62a389710bd32b48c5f63
tree94ce24b08bf244cc2295eb1469ff4e4b01c043b0
parent1bc68a9e80a7b1ab8dbf1a97e43c5d6a99070bb3
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>
arch/xtensa/kernel/signal.c