Skip to content

Commit 609e359

Browse files
t-8chThomas Gleixner
authored andcommitted
selftests: vDSO: vdso_config: Add configurations for clock_getres_time64()
Some architectures will start to implement this function. Make sure that tests can be written for it. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20251223-vdso-compat-time32-v1-2-97ea7a06a543@linutronix.de
1 parent b205656 commit 609e359

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tools/testing/selftests/vDSO/vdso_config.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static const char *versions[7] = {
6666
};
6767

6868
__attribute__((unused))
69-
static const char *names[2][7] = {
69+
static const char *names[2][8] = {
7070
{
7171
"__kernel_gettimeofday",
7272
"__kernel_clock_gettime",
@@ -75,6 +75,7 @@ static const char *names[2][7] = {
7575
"__kernel_getcpu",
7676
"__kernel_clock_gettime64",
7777
"__kernel_getrandom",
78+
"__kernel_clock_getres_time64",
7879
},
7980
{
8081
"__vdso_gettimeofday",
@@ -84,6 +85,7 @@ static const char *names[2][7] = {
8485
"__vdso_getcpu",
8586
"__vdso_clock_gettime64",
8687
"__vdso_getrandom",
88+
"__vdso_clock_getres_time64",
8789
},
8890
};
8991

0 commit comments

Comments
 (0)