aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/process_32.c
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2008-01-30 07:31:03 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:03 -0500
commit6612538ca9b38f0f45d0aec2aae8992c43313705 (patch)
tree8045886bcac03a5f6139a98d732ecfabfa283ad5 /arch/x86/kernel/process_32.c
parent3c2362e629cdc16ea7472c5f14b6c2076aba58db (diff)
x86: clean up process_32/64.c
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>
Diffstat (limited to 'arch/x86/kernel/process_32.c')
-rw-r--r--arch/x86/kernel/process_32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index add3bf34e205..5350763a2d03 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -142,7 +142,7 @@ EXPORT_SYMBOL(default_idle);
142 * to poll the ->work.need_resched flag instead of waiting for the 142 * to poll the ->work.need_resched flag instead of waiting for the
143 * cross-CPU IPI to arrive. Use this option with caution. 143 * cross-CPU IPI to arrive. Use this option with caution.
144 */ 144 */
145static void poll_idle (void) 145static void poll_idle(void)
146{ 146{
147 cpu_relax(); 147 cpu_relax();
148} 148}
@@ -493,7 +493,7 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long sp,
493 493
494 p->thread.ip = (unsigned long) ret_from_fork; 494 p->thread.ip = (unsigned long) ret_from_fork;
495 495
496 savesegment(gs,p->thread.gs); 496 savesegment(gs, p->thread.gs);
497 497
498 tsk = current; 498 tsk = current;
499 if (unlikely(test_tsk_thread_flag(tsk, TIF_IO_BITMAP))) { 499 if (unlikely(test_tsk_thread_flag(tsk, TIF_IO_BITMAP))) {
@@ -571,7 +571,7 @@ void dump_thread(struct pt_regs * regs, struct user * dump)
571} 571}
572EXPORT_SYMBOL(dump_thread); 572EXPORT_SYMBOL(dump_thread);
573 573
574/* 574/*
575 * Capture the user space registers if the task is not running (in user space) 575 * Capture the user space registers if the task is not running (in user space)
576 */ 576 */
577int dump_task_regs(struct task_struct *tsk, elf_gregset_t *regs) 577int dump_task_regs(struct task_struct *tsk, elf_gregset_t *regs)