x86: Add IA32_TSC_AUX MSR and use it
authorSheng Yang <sheng@linux.intel.com>
Wed, 16 Dec 2009 05:48:04 +0000 (13:48 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Dec 2009 08:02:42 +0000 (09:02 +0100)
commit5df974009fe513c664303de24725ea0f8b47f12e
tree3c9ac77ed3691fd9f7d2ec620fea6cb46828ee30
parent0b962d473af32ec334df271b54ff4973cb2b4c73
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>
arch/x86/include/asm/msr-index.h
arch/x86/include/asm/msr.h