Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1250975 > unrolled thread

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

Started bytip-bot for Chuck Ebbert <tipbot@zytor.com>
First post2015-10-19 20:00 +0200
Last post2015-10-19 20:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [tip:sched/core] sched/x86: Fix typo in __switch_to() comments tip-bot for Chuck Ebbert <tipbot@zytor.com> - 2015-10-19 20:00 +0200

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

Fromtip-bot for Chuck Ebbert <tipbot@zytor.com>
Date2015-10-19 20:00 +0200
Subject[tip:sched/core] sched/x86: Fix typo in __switch_to() comments
Message-ID<qlmT0-3hP-25@gated-at.bofh.it>
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web