Commit 7c7a8949 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: fix formatting violations in signal delivery code

Fix a few formatting bugs in the signal code.
Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3b46e650
...@@ -158,12 +158,12 @@ static int kern_do_signal(struct pt_regs *regs) ...@@ -158,12 +158,12 @@ static int kern_do_signal(struct pt_regs *regs)
clear_thread_flag(TIF_RESTORE_SIGMASK); clear_thread_flag(TIF_RESTORE_SIGMASK);
sigprocmask(SIG_SETMASK, &current->saved_sigmask, NULL); sigprocmask(SIG_SETMASK, &current->saved_sigmask, NULL);
} }
return(handled_sig); return handled_sig;
} }
int do_signal(void) int do_signal(void)
{ {
return(kern_do_signal(&current->thread.regs)); return kern_do_signal(&current->thread.regs);
} }
/* /*
...@@ -186,5 +186,5 @@ long sys_sigsuspend(int history0, int history1, old_sigset_t mask) ...@@ -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) 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));
} }
Markdown is supported
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