diff options
author | Maneesh Soni <maneesh@in.ibm.com> | 2005-06-25 17:58:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:24:55 -0400 |
commit | 72414d3f1d22fc3e311b162fca95c430048d38ce (patch) | |
tree | 46850947c1602357dd3c51d8d6ebaa5805507f9f /arch/s390/kernel/machine_kexec.c | |
parent | 4f339ecb30c759f94a29992d4635d9194132b6cf (diff) |
[PATCH] kexec code cleanup
o Following patch provides purely cosmetic changes and corrects CodingStyle
guide lines related certain issues like below in kexec related files
o braces for one line "if" statements, "for" loops,
o more than 80 column wide lines,
o No space after "while", "for" and "switch" key words
o Changes:
o take-2: Removed the extra tab before "case" key words.
o take-3: Put operator at the end of line and space before "*/"
Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/s390/kernel/machine_kexec.c')
-rw-r--r-- | arch/s390/kernel/machine_kexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/machine_kexec.c b/arch/s390/kernel/machine_kexec.c index 7a94db76df46..2721c3a32b84 100644 --- a/arch/s390/kernel/machine_kexec.c +++ b/arch/s390/kernel/machine_kexec.c | |||
@@ -67,7 +67,7 @@ machine_kexec(struct kimage *image) | |||
67 | ctl_clear_bit(0,28); | 67 | ctl_clear_bit(0,28); |
68 | 68 | ||
69 | on_each_cpu(kexec_halt_all_cpus, image, 0, 0); | 69 | on_each_cpu(kexec_halt_all_cpus, image, 0, 0); |
70 | for(;;); | 70 | for (;;); |
71 | } | 71 | } |
72 | 72 | ||
73 | static void | 73 | static void |
@@ -85,7 +85,7 @@ kexec_halt_all_cpus(void *kernel_image) | |||
85 | for_each_online_cpu(cpu) { | 85 | for_each_online_cpu(cpu) { |
86 | if (cpu == smp_processor_id()) | 86 | if (cpu == smp_processor_id()) |
87 | continue; | 87 | continue; |
88 | while(!smp_cpu_not_running(cpu)) | 88 | while (!smp_cpu_not_running(cpu)) |
89 | cpu_relax(); | 89 | cpu_relax(); |
90 | } | 90 | } |
91 | 91 | ||