Home
last modified time | relevance | path

Searched refs:cpu_sys (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_correctness.c182 unsigned cpu_sys, cpu_vdso, cpu_vsys, in test_getcpu() local
187 ret_sys = sys_getcpu(&cpu_sys, &node_sys, 0); in test_getcpu()
201 if (!ret_sys && (cpu_sys != cpu || node_sys != node)) in test_getcpu()
210 printf(" syscall: cpu %u, node %u", cpu_sys, node_sys); in test_getcpu()
/openbmc/linux/tools/testing/selftests/x86/
H A Dtest_vsyscall.c325 unsigned cpu_sys, cpu_vdso, cpu_vsys, node_sys, node_vdso, node_vsys; in test_getcpu() local
328 ret_sys = sys_getcpu(&cpu_sys, &node_sys, 0); in test_getcpu()
335 if (cpu_sys != cpu) { in test_getcpu()
336 printf("[FAIL]\tsyscall reported CPU %hu but should be %d\n", cpu_sys, cpu); in test_getcpu()