Skip to contentSkip to conversation

sched, x86: Fix typo in comments in __switch_to()

PATCH New Chuck Ebbert 2 participants 2 messages Oct 14, 2015 – Oct 19, 2015 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched, x86: Fix typo in comments in __switch_to()

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

arch/x86/kernel/process_64.c +1 -1
index d7f1d5c..e835d26 100644
@@ -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.
#1 lore raw

[tip:sched/core] sched/x86: Fix typo in __switch_to() comments

sched/x86: Fix typo in __switch_to() comments
Commit-ID:  558a65bc31a0c7811b34dad32f51f47c55a40000
Gitweb:     http://git.kernel.org/tip/558a65bc31a0c7811b34dad32f51f47c55a40000
Author:     Chuck Ebbert <[email protected]>
AuthorDate: Wed, 14 Oct 2015 14:31:19 -0400
Committer:  Ingo Molnar <[email protected]>
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.

Cc Andy Lutomirski <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Brian Gerst <[email protected]>
Cc Denys Vlasenko <[email protected]>
Cc H. Peter Anvin <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
---
 arch/x86/kernel/process_64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/process_64.c +1 -1
index d7f1d5c..e835d26 100644
@@ -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.