summaryrefslogtreecommitdiffstats
path: root/arch/x86/vdso
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2014-10-30 14:58:01 -0700
committerThomas Gleixner <tglx@linutronix.de>2014-11-03 13:41:53 +0100
commite76b027e6408f5570dc940b731ec9ae870c6188a (patch)
treed94287f98ee13c7e2fedd4890499f178079ce6ab /arch/x86/vdso
parenta92f101bc99d17b75021cf29f18cc57f39a37d1f (diff)
downloadblackbird-op-linux-e76b027e6408f5570dc940b731ec9ae870c6188a.tar.gz
blackbird-op-linux-e76b027e6408f5570dc940b731ec9ae870c6188a.zip
x86,vdso: Use LSL unconditionally for vgetcpu
LSL is faster than RDTSCP and works everywhere; there's no need to switch between them depending on CPU. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Cc: Andi Kleen <andi@firstfloor.org> Link: http://lkml.kernel.org/r/72f73d5ec4514e02bba345b9759177ef03742efb.1414706021.git.luto@amacapital.net Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/vdso')
-rw-r--r--arch/x86/vdso/vgetcpu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/vdso/vgetcpu.c b/arch/x86/vdso/vgetcpu.c
index add1d98d2477..8ec3d1f4ce9a 100644
--- a/arch/x86/vdso/vgetcpu.c
+++ b/arch/x86/vdso/vgetcpu.c
@@ -8,7 +8,6 @@
#include <linux/kernel.h>
#include <linux/getcpu.h>
#include <linux/time.h>
-#include <asm/vsyscall.h>
#include <asm/vgtod.h>
notrace long
OpenPOWER on IntegriCloud