From: Petr Tesarik Date: Mon, 24 Nov 2008 14:46:31 +0000 (+0100) Subject: posix-cpu-timers: fix clock_gettime with CLOCK_PROCESS_CPUTIME_ID X-Git-Tag: v2.6.28-rc8~56^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eccdaeafaea3ed115068ba55d01f22e486e5437d;p=pandora-kernel.git posix-cpu-timers: fix clock_gettime with CLOCK_PROCESS_CPUTIME_ID Since CLOCK_PROCESS_CPUTIME_ID is in fact translated to -6, the switch statement in cpu_clock_sample_group() must first mask off the irrelevant bits, similar to cpu_clock_sample(). Signed-off-by: Petr Tesarik Signed-off-by: Thomas Gleixner -- posix-cpu-timers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- Reading git-diff-tree failed