summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/signal.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-03-06 10:42:18 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-03-06 18:30:26 +0100
commit7c7a89499a1089a36e40de2db54ff82f5988270d (patch)
tree13016ab665408b0f6133e76d7b365036ebf480ab /arch/um/kernel/signal.c
parent[PATCH] linux/audit.h needs linux/types.h (diff)
downloadlinux-7c7a89499a1089a36e40de2db54ff82f5988270d.tar.xz
linux-7c7a89499a1089a36e40de2db54ff82f5988270d.zip
[PATCH] uml: fix formatting violations in signal delivery code
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>
Diffstat (limited to 'arch/um/kernel/signal.c')
-rw-r--r--arch/um/kernel/signal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/kernel/signal.c b/arch/um/kernel/signal.c
index 2a32e5e8e9c9..3c798cdde550 100644
--- a/arch/um/kernel/signal.c
+++ b/arch/um/kernel/signal.c
@@ -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);
}
/*
@@ -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));
}