x86/asm/tsc: Remove rdtscl()
authorAndy Lutomirski <[email protected]>
Thu, 25 Jun 2015 16:44:06 +0000 (18:44 +0200)
committerIngo Molnar <[email protected]>
Mon, 6 Jul 2015 13:23:28 +0000 (15:23 +0200)
It has no more callers, and it was never a very sensible
interface to begin with. Users of the TSC should either read all
64 bits or explicitly throw out the high bits.

Signed-off-by: Andy Lutomirski <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Huang Rui <[email protected]>
Cc: John Stultz <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: kvm ML <[email protected]>
Link: http://lkml.kernel.org/r/250105f7cee519be9d7fc4464b5784caafc8f4fe.1434501121.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/include/asm/msr.h

index 626f781996658534a94544733731f2f2c29a876e..c89ed6ceed02de5ad0f9176855fb85fabc76cda9 100644 (file)
@@ -189,9 +189,6 @@ do {                                                        \
 
 #endif /* !CONFIG_PARAVIRT */
 
-#define rdtscl(low)                                            \
-       ((low) = (u32)native_read_tsc())
-
 /*
  * 64-bit version of wrmsr_safe():
  */