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 /include/linux/kexec.h | |
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 'include/linux/kexec.h')
-rw-r--r-- | include/linux/kexec.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/linux/kexec.h b/include/linux/kexec.h index 7383173a3a9c..c8468472aec0 100644 --- a/include/linux/kexec.h +++ b/include/linux/kexec.h | |||
@@ -91,14 +91,17 @@ extern NORET_TYPE void machine_kexec(struct kimage *image) ATTRIB_NORET; | |||
91 | extern int machine_kexec_prepare(struct kimage *image); | 91 | extern int machine_kexec_prepare(struct kimage *image); |
92 | extern void machine_kexec_cleanup(struct kimage *image); | 92 | extern void machine_kexec_cleanup(struct kimage *image); |
93 | extern asmlinkage long sys_kexec_load(unsigned long entry, | 93 | extern asmlinkage long sys_kexec_load(unsigned long entry, |
94 | unsigned long nr_segments, struct kexec_segment __user *segments, | 94 | unsigned long nr_segments, |
95 | unsigned long flags); | 95 | struct kexec_segment __user *segments, |
96 | unsigned long flags); | ||
96 | #ifdef CONFIG_COMPAT | 97 | #ifdef CONFIG_COMPAT |
97 | extern asmlinkage long compat_sys_kexec_load(unsigned long entry, | 98 | extern asmlinkage long compat_sys_kexec_load(unsigned long entry, |
98 | unsigned long nr_segments, struct compat_kexec_segment __user *segments, | 99 | unsigned long nr_segments, |
99 | unsigned long flags); | 100 | struct compat_kexec_segment __user *segments, |
101 | unsigned long flags); | ||
100 | #endif | 102 | #endif |
101 | extern struct page *kimage_alloc_control_pages(struct kimage *image, unsigned int order); | 103 | extern struct page *kimage_alloc_control_pages(struct kimage *image, |
104 | unsigned int order); | ||
102 | extern void crash_kexec(struct pt_regs *); | 105 | extern void crash_kexec(struct pt_regs *); |
103 | int kexec_should_crash(struct task_struct *); | 106 | int kexec_should_crash(struct task_struct *); |
104 | extern struct kimage *kexec_image; | 107 | extern struct kimage *kexec_image; |