Commit 9112a6b2 authored by Paul Gortmaker's avatar Paul Gortmaker
Browse files

xtensa: fix build failure in xtensa/kernel/signal.c

Caused by commit 3785006a

    "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 <>
Cc: Chris Zankel <>
Acked-by: default avatarMatt Fleming <>
Signed-off-by: default avatarPaul Gortmaker <>
parent 1bc68a9e
......@@ -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? */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment