All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] i386: switch_to(): misplaced parentheses
@ 2006-07-25 20:15 Chuck Ebbert
  2006-07-29  1:39 ` Steven Rostedt
  0 siblings, 1 reply; 3+ messages in thread
From: Chuck Ebbert @ 2006-07-25 20:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton, Linus Torvalds

Recent changes in i386 __switch_to() have a misplaced closing
parenthesis causing an unlikely() to terminate early.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>

--- 2.6.18-rc2-32.orig/arch/i386/kernel/process.c
+++ 2.6.18-rc2-32/arch/i386/kernel/process.c
@@ -690,8 +690,8 @@ struct task_struct fastcall * __switch_t
 	/*
 	 * Now maybe handle debug registers and/or IO bitmaps
 	 */
-	if (unlikely((task_thread_info(next_p)->flags & _TIF_WORK_CTXSW))
-	    || test_tsk_thread_flag(prev_p, TIF_IO_BITMAP))
+	if (unlikely((task_thread_info(next_p)->flags & _TIF_WORK_CTXSW)
+	    || test_tsk_thread_flag(prev_p, TIF_IO_BITMAP)))
 		__switch_to_xtra(next_p, tss);
 
 	disable_tsc(prev_p, next_p);
-- 
Chuck

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-29  2:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-25 20:15 [patch] i386: switch_to(): misplaced parentheses Chuck Ebbert
2006-07-29  1:39 ` Steven Rostedt
2006-07-29  2:08   ` Steven Rostedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.