x86/vdso/doc: Make vDSO examples more portable
authorAndy Lutomirski <luto@amacapital.net>
Fri, 13 Jun 2014 00:53:10 +0000 (17:53 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 13 Jun 2014 02:01:24 +0000 (19:01 -0700)
commit4ebbefd6b93c34d6da0d950b1d2e0dcca2f1e6ef
tree5d94b4e1dd26d5c1a4ce2866486936333ca2e96f
parent6e8f21584a30ba6ce73cfef34f316d5bf3fadaab
x86/vdso/doc: Make vDSO examples more portable

This adds a new vdso_test.c that's written entirely in C.  It also
makes all of the vDSO examples work on 32-bit x86.

Cc: Stefani Seibold <stefani@seibold.net>
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Link: http://lkml.kernel.org/r/62b701fc44b79f118ac2b2d64d19965fc5c291fb.1402620737.git.luto@amacapital.net
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Documentation/vDSO/parse_vdso.c
Documentation/vDSO/vdso_standalone_test_x86.c
Documentation/vDSO/vdso_test.c [new file with mode: 0644]