aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/msr.h
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 07:32:05 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:32:05 -0500
commitf72a9ef979c5a828c64deb88ebba743f7d899907 (patch)
tree130bdcc79d525bf3620cffbed58d26ac6d369e72 /include/asm-x86/msr.h
parenta4746364da0c7caa155cc945a5c10312e7925b46 (diff)
x86: cleanup write_tsc
write_tsc() does not need to be enclosed in any paravirt closure, as it uses wrmsr(). So we rip off the duplicate in msr.h and the definition from paravirt.h Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/msr.h')
-rw-r--r--include/asm-x86/msr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86/msr.h b/include/asm-x86/msr.h
index 088652a62d58..bca8c3950132 100644
--- a/include/asm-x86/msr.h
+++ b/include/asm-x86/msr.h
@@ -157,8 +157,6 @@ static inline int wrmsr_safe(unsigned msr, unsigned low, unsigned high)
157#define rdtscll(val) \ 157#define rdtscll(val) \
158 ((val) = native_read_tsc()) 158 ((val) = native_read_tsc())
159 159
160#define write_tsc(val1,val2) wrmsr(0x10, val1, val2)
161
162#define rdpmc(counter,low,high) \ 160#define rdpmc(counter,low,high) \
163 do { \ 161 do { \
164 u64 _l = native_read_pmc(counter); \ 162 u64 _l = native_read_pmc(counter); \