From: Erik Bosman Date: Fri, 11 Apr 2008 16:57:22 +0000 (+0200) Subject: generic, x86: add tests for prctl PR_GET_TSC and PR_SET_TSC X-Git-Tag: v2.6.26-rc1~1133^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1326973262382150c26bf4dfccd0fce310c4a9c;p=pandora-kernel.git generic, x86: add tests for prctl PR_GET_TSC and PR_SET_TSC This patch adds three tests that test whether the PR_GET_TSC and PR_SET_TSC commands have the desirable effect. The tests check whether the control register is updated correctly at context switches and try to discover bugs while enabling/disabling the timestamp counter. Signed-off-by: Erik Bosman Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed