diff options
author | Jeff Dike <jdike@addtoit.com> | 2008-02-05 01:31:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:30 -0500 |
commit | c5d4bb171cab17576779a51d23d313abcb3db102 (patch) | |
tree | 6470c3c55b172db68dfd4f880c60da72e30c488f /arch/um/kernel/signal.c | |
parent | e6a2d1f7024f93e4622cd7ba633666a63ccce49e (diff) |
uml: style fixes in arch/um/kernel
Joe Perches noticed some printks in smp.c that needed fixing.
While I was in there, I did the usual tidying in arch/um/kernel, which
should be fairly style-clean at this point:
copyright updates
emacs formatting comments removal
include tidying
style fixes
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
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.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/um/kernel/signal.c b/arch/um/kernel/signal.c index 19cb97733937..b0fce720c4d0 100644 --- a/arch/um/kernel/signal.c +++ b/arch/um/kernel/signal.c | |||
@@ -3,12 +3,12 @@ | |||
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "linux/module.h" | 6 | #include <linux/module.h> |
7 | #include "linux/ptrace.h" | 7 | #include <linux/ptrace.h> |
8 | #include "linux/sched.h" | 8 | #include <linux/sched.h> |
9 | #include "asm/siginfo.h" | 9 | #include <asm/siginfo.h> |
10 | #include "asm/signal.h" | 10 | #include <asm/signal.h> |
11 | #include "asm/unistd.h" | 11 | #include <asm/unistd.h> |
12 | #include "frame_kern.h" | 12 | #include "frame_kern.h" |
13 | #include "kern_util.h" | 13 | #include "kern_util.h" |
14 | #include "sigcontext.h" | 14 | #include "sigcontext.h" |
@@ -36,7 +36,7 @@ static int handle_signal(struct pt_regs *regs, unsigned long signr, | |||
36 | /* Did we come from a system call? */ | 36 | /* Did we come from a system call? */ |
37 | if (PT_REGS_SYSCALL_NR(regs) >= 0) { | 37 | if (PT_REGS_SYSCALL_NR(regs) >= 0) { |
38 | /* If so, check system call restarting.. */ | 38 | /* If so, check system call restarting.. */ |
39 | switch(PT_REGS_SYSCALL_RET(regs)) { | 39 | switch (PT_REGS_SYSCALL_RET(regs)) { |
40 | case -ERESTART_RESTARTBLOCK: | 40 | case -ERESTART_RESTARTBLOCK: |
41 | case -ERESTARTNOHAND: | 41 | case -ERESTARTNOHAND: |
42 | PT_REGS_SYSCALL_RET(regs) = -EINTR; | 42 | PT_REGS_SYSCALL_RET(regs) = -EINTR; |
@@ -116,7 +116,7 @@ static int kern_do_signal(struct pt_regs *regs) | |||
116 | /* Did we come from a system call? */ | 116 | /* Did we come from a system call? */ |
117 | if (!handled_sig && (PT_REGS_SYSCALL_NR(regs) >= 0)) { | 117 | if (!handled_sig && (PT_REGS_SYSCALL_NR(regs) >= 0)) { |
118 | /* Restart the system call - no handlers present */ | 118 | /* Restart the system call - no handlers present */ |
119 | switch(PT_REGS_SYSCALL_RET(regs)) { | 119 | switch (PT_REGS_SYSCALL_RET(regs)) { |
120 | case -ERESTARTNOHAND: | 120 | case -ERESTARTNOHAND: |
121 | case -ERESTARTSYS: | 121 | case -ERESTARTSYS: |
122 | case -ERESTARTNOINTR: | 122 | case -ERESTARTNOINTR: |