summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/vDSO/vdso_test_gettimeofday.c
AgeCommit message (Collapse)AuthorFilesLines
2020-05-22selftests: vdso: Use a header file to prototype parse_vdso APIMark Brown1-4/+1
Both vdso_test_gettimeofday and vdso_standalone_test_x86 use the library in parse_vdso.c but each separately declares the API it offers which is not ideal. Create a header file with prototypes of the functions and use it in both the library and the tests to ensure that the same prototypes are used throughout. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2020-05-22selftests: vdso: Rename vdso_test to vdso_test_gettimeofdayMark Brown1-0/+69
Currently the vDSO kselftests have a test called vdso_test which tests the vDSO implementation of gettimeofday(). In preparation for adding tests for other vDSO functionality rename this test to reflect what's going on. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>