2006-11-23 03:58:27

by Wink Saville

[permalink] [raw]
Subject: [PATCH] Fix comments for MSR_FS_BASE and MSR_GS_BASE.

The comments for MSR_FS_BASE & MSR_GS_BASE were transposed.

Signed-off-by: Wink Saville <[email protected]>
---
include/asm-x86_64/msr.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/asm-x86_64/msr.h b/include/asm-x86_64/msr.h
index 37e1941..74c175a 100644
--- a/include/asm-x86_64/msr.h
+++ b/include/asm-x86_64/msr.h
@@ -169,8 +169,8 @@ #define MSR_STAR 0xc0000081 /* legacy m
#define MSR_LSTAR 0xc0000082 /* long mode SYSCALL target */
#define MSR_CSTAR 0xc0000083 /* compatibility mode SYSCALL target */
#define MSR_SYSCALL_MASK 0xc0000084 /* EFLAGS mask for syscall */
-#define MSR_FS_BASE 0xc0000100 /* 64bit GS base */
-#define MSR_GS_BASE 0xc0000101 /* 64bit FS base */
+#define MSR_FS_BASE 0xc0000100 /* 64bit FS base */
+#define MSR_GS_BASE 0xc0000101 /* 64bit GS base */
#define MSR_KERNEL_GS_BASE 0xc0000102 /* SwapGS GS shadow (or USER_GS from kernel) */
/* EFER bits: */
#define _EFER_SCE 0 /* SYSCALL/SYSRET */
--
1.4.2.1


2006-11-23 09:09:30

by Andi Kleen

[permalink] [raw]
Subject: Re: [PATCH] Fix comments for MSR_FS_BASE and MSR_GS_BASE.

Wink Saville <[email protected]> writes:

> The comments for MSR_FS_BASE & MSR_GS_BASE were transposed.

Added thanks
-Andi