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/smp.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/smp.c')
-rw-r--r-- | arch/um/kernel/smp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/um/kernel/smp.c b/arch/um/kernel/smp.c index 869ac6802209..e1062ec36d40 100644 --- a/arch/um/kernel/smp.c +++ b/arch/um/kernel/smp.c | |||
@@ -60,7 +60,7 @@ void smp_send_stop(void) | |||
60 | continue; | 60 | continue; |
61 | os_write_file(cpu_data[i].ipi_pipe[1], "S", 1); | 61 | os_write_file(cpu_data[i].ipi_pipe[1], "S", 1); |
62 | } | 62 | } |
63 | printk(KERN_INFO "done\n"); | 63 | printk(KERN_CONT "done\n"); |
64 | } | 64 | } |
65 | 65 | ||
66 | static cpumask_t smp_commenced_mask = CPU_MASK_NONE; | 66 | static cpumask_t smp_commenced_mask = CPU_MASK_NONE; |
@@ -140,9 +140,8 @@ void smp_prepare_cpus(unsigned int maxcpus) | |||
140 | while (waittime-- && !cpu_isset(cpu, cpu_callin_map)) | 140 | while (waittime-- && !cpu_isset(cpu, cpu_callin_map)) |
141 | cpu_relax(); | 141 | cpu_relax(); |
142 | 142 | ||
143 | if (cpu_isset(cpu, cpu_callin_map)) | 143 | printk(KERN_INFO "%s\n", |
144 | printk(KERN_INFO "done\n"); | 144 | cpu_isset(cpu, cpu_calling_map) ? "done" : "failed"); |
145 | else printk(KERN_INFO "failed\n"); | ||
146 | } | 145 | } |
147 | } | 146 | } |
148 | 147 | ||