Skip to content

Commit

Permalink
[PATCH] uml: fix formatting violations in signal delivery code
Browse files Browse the repository at this point in the history
Fix a few formatting bugs in the signal code.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Mar 6, 2007
1 parent 3b46e65 commit 7c7a894
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/um/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@ static int kern_do_signal(struct pt_regs *regs)
clear_thread_flag(TIF_RESTORE_SIGMASK);
sigprocmask(SIG_SETMASK, &current->saved_sigmask, NULL);
}
return(handled_sig);
return handled_sig;
}

int do_signal(void)
{
return(kern_do_signal(&current->thread.regs));
return kern_do_signal(&current->thread.regs);
}

/*
Expand All @@ -186,5 +186,5 @@ long sys_sigsuspend(int history0, int history1, old_sigset_t mask)

long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss)
{
return(do_sigaltstack(uss, uoss, PT_REGS_SP(&current->thread.regs)));
return do_sigaltstack(uss, uoss, PT_REGS_SP(&current->thread.regs));
}

0 comments on commit 7c7a894

Please sign in to comment.