]> err.no Git - linux-2.6/blobdiff - include/asm-x86_64/msr.h
Automatic merge with /usr/src/ntfs-2.6.git.
[linux-2.6] / include / asm-x86_64 / msr.h
index 66f0be191ab4f5ec3a49a75b187f0b7c2e102dbf..bc700232728d8c2c754fc7aebdaf9b745eee95a1 100644 (file)
      (val) = ((unsigned long)__a) | (((unsigned long)__d)<<32); \
 } while(0)
 
-#define rdpmc(counter,low,high) \
-     __asm__ __volatile__("rdpmc" \
-                         : "=a" (low), "=d" (high) \
-                         : "c" (counter))
-
 #define write_tsc(val1,val2) wrmsr(0x10, val1, val2)
 
 #define rdpmc(counter,low,high) \
@@ -163,6 +158,7 @@ extern inline unsigned int cpuid_edx(unsigned int op)
 #define EFER_NX (1<<_EFER_NX)
 
 /* Intel MSRs. Some also available on other CPUs */
+#define MSR_IA32_TSC           0x10
 #define MSR_IA32_PLATFORM_ID   0x17
 
 #define MSR_IA32_PERFCTR0      0xc1