diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-01-27 15:15:13 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-02-12 09:37:21 +0100 |
commit | 49253925c0be02ed4eb7d94a426731107dd8059d (patch) | |
tree | 350203d651419aa715ca6fe3ef9d8b0ab620aea2 /arch/s390/include/asm/topology.h | |
parent | 8cc748aa76c921d8834ef00f762f31acd2c93aa8 (diff) | |
download | op-kernel-dev-49253925c0be02ed4eb7d94a426731107dd8059d.zip op-kernel-dev-49253925c0be02ed4eb7d94a426731107dd8059d.tar.gz |
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 c742b31c03f37c5c499178f09f57381aa6c70131
"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>
Diffstat (limited to 'arch/s390/include/asm/topology.h')
0 files changed, 0 insertions, 0 deletions