]> err.no Git - linux-2.6/commitdiff
i386: remove unused rdtsc() macro
authorH. Peter Anvin <hpa@zytor.com>
Wed, 9 May 2007 07:02:06 +0000 (00:02 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:49:33 +0000 (12:49 -0700)
All users to the two-part rdtsc() macro have already switched to using
rdtscl() or rdtscll().  Remove the now-obsolete macro.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-i386/msr.h
include/asm-i386/paravirt.h

index 26861df52cc4ebde75c53f18621f42dd53ff71d0..c70773e2ff94467be22212317b1d56286ddf0916 100644 (file)
@@ -121,13 +121,6 @@ static inline void wrmsrl (unsigned long msr, unsigned long long val)
                __err;                                                  \
        })
 
-#define rdtsc(low,high)                                                \
-       do {                                                    \
-               u64 _l = native_read_tsc();                     \
-               (low) = (u32)_l;                                \
-               (high) = _l >> 32;                              \
-       } while(0)
-
 #define rdtscl(low)                                            \
        do {                                                    \
                (low) = native_read_tsc();                      \
index e2e7f98723c57fac6c3f45c797a1a7a1060df45a..bc5c12c135817c2c2b8da89c27656a91a9a2b280 100644 (file)
@@ -560,11 +560,6 @@ static inline u64 paravirt_read_tsc(void)
 {
        return PVOP_CALL0(u64, read_tsc);
 }
-#define rdtsc(low,high) do {                   \
-       u64 _l = paravirt_read_tsc();           \
-       low = (u32)_l;                          \
-       high = _l >> 32;                        \
-} while(0)
 
 #define rdtscl(low) do {                       \
        u64 _l = paravirt_read_tsc();           \