summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/msr-index.h
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-12-16 13:48:04 +0800
committerIngo Molnar <mingo@elte.hu>2009-12-16 09:02:42 +0100
commit5df974009fe513c664303de24725ea0f8b47f12e (patch)
tree3c9ac77ed3691fd9f7d2ec620fea6cb46828ee30 /arch/x86/include/asm/msr-index.h
parent0b962d473af32ec334df271b54ff4973cb2b4c73 (diff)
downloadop-kernel-dev-5df974009fe513c664303de24725ea0f8b47f12e.zip
op-kernel-dev-5df974009fe513c664303de24725ea0f8b47f12e.tar.gz
x86: Add IA32_TSC_AUX MSR and use it
Clean up write_tsc() and write_tscp_aux() by replacing hardcoded values. No change in functionality. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Cc: Avi Kivity <avi@redhat.com> Cc: Marcelo Tosatti <mtosatti@redhat.com> LKML-Reference: <1260942485-19156-4-git-send-email-sheng@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/msr-index.h')
-rw-r--r--arch/x86/include/asm/msr-index.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h
index 4ffe09b..ac98d29 100644
--- a/arch/x86/include/asm/msr-index.h
+++ b/arch/x86/include/asm/msr-index.h
@@ -12,6 +12,7 @@
#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 */
+#define MSR_TSC_AUX 0xc0000103 /* Auxiliary TSC */
/* EFER bits: */
#define _EFER_SCE 0 /* SYSCALL/SYSRET */
OpenPOWER on IntegriCloud