diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-05-09 09:02:06 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 21:49:33 +0200 |
commit | 29bd44337799e4cb85aec5157a9c88a0da66642a (patch) | |
tree | 454124f8ce577a814fde5edc08b26cdf1138f122 /include/asm-i386/paravirt.h | |
parent | i386: cpu/transmeta.c: fix definition of USER686 (diff) | |
download | linux-29bd44337799e4cb85aec5157a9c88a0da66642a.tar.xz linux-29bd44337799e4cb85aec5157a9c88a0da66642a.zip |
i386: remove unused rdtsc() macro
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>
Diffstat (limited to '')
-rw-r--r-- | include/asm-i386/paravirt.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-i386/paravirt.h b/include/asm-i386/paravirt.h index e2e7f98723c5..bc5c12c13581 100644 --- a/include/asm-i386/paravirt.h +++ b/include/asm-i386/paravirt.h @@ -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(); \ |