OSDN Git Service

x86/asm/tsc: Add rdtscll() merge helper
[uclinux-h8/linux.git] / arch / x86 / include / asm / msr.h
index 131eec2..54e9f08 100644 (file)
@@ -152,6 +152,9 @@ static __always_inline unsigned long long rdtsc_ordered(void)
        return rdtsc();
 }
 
+/* Deprecated, keep it for a cycle for easier merging: */
+#define rdtscll(now)   do { (now) = rdtsc_ordered(); } while (0)
+
 static inline unsigned long long native_read_pmc(int counter)
 {
        DECLARE_ARGS(val, low, high);