selftests/x86: Add test_vdso to test getcpu()
authorAndy Lutomirski <luto@kernel.org>
Wed, 16 Nov 2016 18:23:28 +0000 (10:23 -0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 17 Nov 2016 07:31:22 +0000 (08:31 +0100)
commit3200ca806942d3d8f78d0d0c822e345dfb8789e7
treea04e19e941ea8461cefffb8ced7a099774179de2
parenta582c540ac1b10f0a7d37415e04c4af42409fd08
selftests/x86: Add test_vdso to test getcpu()

I'll eventually add tests for more vDSO functions here.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Megha <megha.dey@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/945cd29901a62a3cc6ea7d6ee5e389ab1ec1ac0c.1479320367.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/testing/selftests/x86/Makefile
tools/testing/selftests/x86/test_vdso.c [new file with mode: 0644]