Skip to contentSkip to conversation

Fix comments for MSR_FS_BASE and MSR_GS_BASE.

PATCH In review Wink Saville 2 participants 2 messages Nov 23, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix comments for MSR_FS_BASE and MSR_GS_BASE.

The comments for MSR_FS_BASE & MSR_GS_BASE were transposed.

---
 include/asm-x86_64/msr.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/asm-x86_64/msr.h +2 -2
index 37e1941..74c175a 100644
@@ -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

#1 lore raw
Quoted 1 line · Wink Saville

The comments for MSR_FS_BASE & MSR_GS_BASE were transposed.

Added thanks
-Andi