Fixes most style errors and warnings.
Signed-off-by: Aakash Goenka<aakash.goenka@xxxxxxxxx>
---[...]
kernel/fork.c | 96 ++++++++++++++++++++++++++++++++++-----------------------
1 files changed, 57 insertions(+), 39 deletions(-)
- /* One for us, one for whoever does the "release_task()" (usually parent) */
- atomic_set(&tsk->usage,2);
+ /* One for us, one for whoever does the
+ * "release_task()" (usually parent)
+ */
+ atomic_set(&tsk->usage, 2);
atomic_set(&tsk->fs_excl, 0);
#ifdef CONFIG_BLK_DEV_IO_TRACE
tsk->btrace_seq = 0;
@@ -355,7 +357,8 @@ static int dup_mmap(struct mm_struct *mm, struct
mm_struct *oldmm)
}
charge = 0;
if (mpnt->vm_flags& VM_ACCOUNT) {
- unsigned int len = (mpnt->vm_end - mpnt->vm_start)>> PAGE_SHIFT;
+ unsigned int len =
+ (mpnt->vm_end - mpnt->vm_start)>> PAGE_SHIFT;
/* ok, now we should be set up.. */
- p->exit_signal = (clone_flags& CLONE_THREAD) ? -1 : (clone_flags& CSIGNAL);
+ p->exit_signal = (clone_flags& CLONE_THREAD) ?
+ -1 : (clone_flags& CSIGNAL);