Skip to content

Commit

Permalink
x86: clean up process_32/64.c
Browse files Browse the repository at this point in the history
White space and coding style clean up.
Make process_32/64.c similar.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Hiroshi Shimamoto authored and Ingo Molnar committed Jan 30, 2008
1 parent 3c2362e commit 6612538
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 102 deletions.
6 changes: 3 additions & 3 deletions arch/x86/kernel/process_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ EXPORT_SYMBOL(default_idle);
* to poll the ->work.need_resched flag instead of waiting for the
* cross-CPU IPI to arrive. Use this option with caution.
*/
static void poll_idle (void)
static void poll_idle(void)
{
cpu_relax();
}
Expand Down Expand Up @@ -493,7 +493,7 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long sp,

p->thread.ip = (unsigned long) ret_from_fork;

savesegment(gs,p->thread.gs);
savesegment(gs, p->thread.gs);

tsk = current;
if (unlikely(test_tsk_thread_flag(tsk, TIF_IO_BITMAP))) {
Expand Down Expand Up @@ -571,7 +571,7 @@ void dump_thread(struct pt_regs * regs, struct user * dump)
}
EXPORT_SYMBOL(dump_thread);

/*
/*
* Capture the user space registers if the task is not running (in user space)
*/
int dump_task_regs(struct task_struct *tsk, elf_gregset_t *regs)
Expand Down
Loading

0 comments on commit 6612538

Please sign in to comment.