From: Erik Bosman Date: Fri, 11 Apr 2008 16:54:17 +0000 (+0200) Subject: generic, x86: add prctl commands PR_GET_TSC and PR_SET_TSC X-Git-Tag: v2.6.26-rc1~1133^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fb402bccf203ecca8f9e0202b8fd3c937dece6f;p=pandora-kernel.git generic, x86: add prctl commands PR_GET_TSC and PR_SET_TSC This patch adds prctl commands that make it possible to deny the execution of timestamp counters in userspace. If this is not implemented on a specific architecture, prctl will return -EINVAL. ned-off-by: Erik Bosman Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed