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

* [tip:sched/core] sched/x86: Fix typo in __switch_to() comments
  2015-10-14 18:31 [PATCH] sched, x86: Fix typo in comments in __switch_to() Chuck Ebbert
@ 2015-10-19 17:48 ` tip-bot for Chuck Ebbert
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Chuck Ebbert @ 2015-10-19 17:48 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: cebbert.lkml, hpa, linux-kernel, mingo, peterz, brgerst, dvlasenk,
	tglx, efault, bp, torvalds, luto

Commit-ID:  558a65bc31a0c7811b34dad32f51f47c55a40000
Gitweb:     http://git.kernel.org/tip/558a65bc31a0c7811b34dad32f51f47c55a40000
Author:     Chuck Ebbert <cebbert.lkml@gmail.com>
AuthorDate: Wed, 14 Oct 2015 14:31:19 -0400
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Mon, 19 Oct 2015 10:18:53 +0200

sched/x86: Fix typo in __switch_to() comments

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

Signed-off-by: Chuck Ebbert <cebbert.lkml@gmail.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20151014143119.78858eeb@r5
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/kernel/process_64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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