summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/msr.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-03-23 00:05:29 +0100
committerThomas Gleixner <tglx@linutronix.de>2018-03-23 20:07:54 +0100
commitea89c065482179b2bf9f9b6788b06a6e0c68a73b (patch)
tree79bb7d7bed31d52a61214531573abd927ceb5564 /arch/x86/include/asm/msr.h
parentfc804f65d46236c211f530174904c1ed70db5888 (diff)
downloadlinux-0-day-ea89c065482179b2bf9f9b6788b06a6e0c68a73b.tar.gz
linux-0-day-ea89c065482179b2bf9f9b6788b06a6e0c68a73b.tar.xz
x86/tsc: Get rid of rdtscll()
Commit 99770737ca7e ("x86/asm/tsc: Add rdtscll() merge helper") added rdtscll() in August 2015 along with the comment: /* Deprecated, keep it for a cycle for easier merging: */ 12 cycles later it's really overdue for removal. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/include/asm/msr.h')
-rw-r--r--arch/x86/include/asm/msr.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm/msr.h
index 30df295f6d94c..392f05d57e78a 100644
--- a/arch/x86/include/asm/msr.h
+++ b/arch/x86/include/asm/msr.h
@@ -218,9 +218,6 @@ 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);