kselftest: Extend vdso correctness test to clock_gettime64
authorVincenzo Frascino <vincenzo.frascino@arm.com>
Mon, 26 Oct 2020 11:49:45 +0000 (11:49 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 27 Oct 2020 23:59:09 +0000 (17:59 -0600)
commitb2f1c3db28870d88d1a19aa86a8374e7725d62c5
tree38b93b8e89489559002d88ae29876a9442dcb943
parentc7e5789b24d36dd5dddd36ea2b99280a606cac42
kselftest: Extend vdso correctness test to clock_gettime64

With the release of Linux 5.1 has been added a new syscall,
clock_gettime64, that provided a 64 bit time value for a specified
clock_ID to make the kernel Y2038 safe on 32 bit architectures.

Extend the vdso correctness test to cover the newly exposed vdso
function.

Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/vDSO/vdso_config.h
tools/testing/selftests/vDSO/vdso_test_correctness.c