public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sched, x86: Fix typo in comments in __switch_to()
@ 2015-10-14 18:31 Chuck Ebbert
  2015-10-19 17:48 ` [tip:sched/core] sched/x86: Fix typo in __switch_to() comments tip-bot for Chuck Ebbert
  0 siblings, 1 reply; 2+ messages in thread
From: Chuck Ebbert @ 2015-10-14 18:31 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

Fix obvious mistake: FS/GS should be DS/ES.

Signed-off-by: Chuck Ebbert <cebbert.lkml@gmail.com>

diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c
index d7f1d5c..e835d26 100644
--- a/arch/x86/kernel/process_64.c
+++ b/arch/x86/kernel/process_64.c
@@ -332,7 +332,7 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
 	/*
 	 * Switch FS and GS.
 	 *
-	 * These are even more complicated than FS and GS: they have
+	 * These are even more complicated than DS and ES: they have
 	 * 64-bit bases are that controlled by arch_prctl.  Those bases
 	 * only differ from the values in the GDT or LDT if the selector
 	 * is 0.

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

end of thread, other threads:[~2015-10-19 17:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-14 18:31 [PATCH] sched, x86: Fix typo in comments in __switch_to() Chuck Ebbert
2015-10-19 17:48 ` [tip:sched/core] sched/x86: Fix typo in __switch_to() comments tip-bot for Chuck Ebbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox