OpenCloudOS-Kernel/arch/s390/kernel/vdso64
Martin Schwidefsky 49253925c0 s390/vdso: fix clock_gettime for CLOCK_THREAD_CPUTIME_ID, -2 and -3
Git commit 8d8f2e18a6dbd3d09dd918788422e6ac8c878e96
"s390/vdso: ectg gettime support for CLOCK_THREAD_CPUTIME_ID"
broke clock_gettime for CLOCK_THREAD_CPUTIME_ID.

Git commit c742b31c03
"fast vdso implementation for CLOCK_THREAD_CPUTIME_ID"
introduced the ECTG for clock id -2. Correct would have been
clock id -3.

Fix the whole mess, CLOCK_THREAD_CPUTIME_ID is based on
CPUCLOCK_SCHED and can not be speed up by the vdso. A speedup
is only available for clock id -3 which is CPUCLOCK_VIRT for
the task currently running on the CPU.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-02-12 09:37:21 +01:00
..
.gitignore s390: add various .gitignore files. 2012-05-16 14:42:41 +02:00
Makefile [S390] vdso: disable gcov profiling 2011-05-23 10:24:29 +02:00
clock_getres.S s390/vdso: add vdso support for coarse clocks 2014-09-09 08:53:27 +02:00
clock_gettime.S s390/vdso: fix clock_gettime for CLOCK_THREAD_CPUTIME_ID, -2 and -3 2015-02-12 09:37:21 +01:00
gettimeofday.S s390/vdso: fix stack corruption 2014-10-27 13:27:02 +01:00
note.S
vdso64.lds.S
vdso64_wrapper.S Use macros for .data.page_aligned section. 2009-09-21 06:27:08 +02:00