From: Martin Schwidefsky Date: Mon, 2 Dec 2013 13:54:56 +0000 (+0100) Subject: s390/vdso: ectg gettime support for CLOCK_THREAD_CPUTIME_ID X-Git-Tag: v3.13-rc4~37^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5e64b3de7fdd1db0a12871f7114fc1da899df8e;p=pandora-kernel.git s390/vdso: ectg gettime support for CLOCK_THREAD_CPUTIME_ID The code to use the ECTG instruction to calculate the cputime for the current thread is currently used only for the per-thread CPU-clock with the clockid -2 (PID=0, VIRT=1). Use the same code for the clockid CLOCK_THREAD_CPUTIME_ID to speed up the more common clockid as well. Reported-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed