]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
sched/x86: Fix typo in __switch_to() comments
authorChuck Ebbert <cebbert.lkml@gmail.com>
Wed, 14 Oct 2015 18:31:19 +0000 (14:31 -0400)
committerIngo Molnar <mingo@kernel.org>
Mon, 19 Oct 2015 08:18:53 +0000 (10:18 +0200)
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

index d7f1d5c4387d0bf17df79eedc72b4da306e27c28..e835d263a33b43ccf7601698cfeadc447ede491e 100644 (file)
@@ -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.